Merge branch 'standard-product-issues' of github.com:sumitwebkul/QloApps into standard-product-issues
This commit is contained in:
@@ -1342,6 +1342,7 @@ abstract class PaymentModuleCore extends Module
|
||||
'{products_txt}' => $product_list_txt,
|
||||
'{discounts}' => $cart_rules_list_html,
|
||||
'{discounts_txt}' => $cart_rules_list_txt,
|
||||
'{total_paid}' => Tools::displayPrice($order->total_paid, $this->context->currency, false),
|
||||
'{total_products}' => Tools::displayPrice($total_products, $this->context->currency, false),
|
||||
'{total_discounts}' => Tools::displayPrice(-$order->total_discounts, $this->context->currency, false),
|
||||
'{total_shipping}' => Tools::displayPrice($order->total_shipping, $this->context->currency, false),
|
||||
|
||||
@@ -1148,6 +1148,7 @@ class OrderOpcControllerCore extends ParentOrderController
|
||||
$this->_assignCheckoutValidationVars();
|
||||
$this->_assignCheckoutVars();
|
||||
$this->_assignShoppingCart();
|
||||
$this->_assignSummaryInformations();
|
||||
$response['success'] = true;
|
||||
$response['shopping_cart'] = $this->context->smarty->fetch(_PS_THEME_DIR_.'shopping-cart.tpl');
|
||||
$response['cart_total_block'] = $this->context->smarty->fetch(_PS_THEME_DIR_.'cart-total-block.tpl');
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
</div>
|
||||
<span class="remove_link">
|
||||
{if !isset($customizedDatas.$productId.$productAttributeId) && (!isset($product.is_gift) || !$product.is_gift)}
|
||||
<a class="ajax_cart_block_remove_link" href="{$link->getPageLink('cart', true, NULL, "delete=1&id_product={$product.id_product|intval}&ipa={$product.id_product_attribute|intval}&id_address_delivery={$product.id_address_delivery|intval}&token={$static_token}")|escape:'html':'UTF-8'}{if isset($hotel_wise_data) && $hotel_wise_data.id_hotel}&id_hotel={$hotel_wise_data.id_hotel|escape:'html':'UTF-8'}{/if}" rel="nofollow" title="{l s='remove this product from my cart' mod='blockcart'}"> </a>
|
||||
<a class="ajax_cart_block_remove_link" href="{$link->getPageLink('cart', true, NULL, "delete=1&id_product={$product.id_product|intval}&ipa={$product.id_product_attribute|intval}&id_address_delivery={$product.id_address_delivery|intval}&token={$static_token}")|escape:'html':'UTF-8'}{if !empty($hotel_wise_data.id_hotel)}&id_hotel={$hotel_wise_data.id_hotel|escape:'html':'UTF-8'}{/if}" rel="nofollow" title="{l s='remove this product from my cart' mod='blockcart'}"> </a>
|
||||
{/if}
|
||||
</span>
|
||||
<div style="clear:both"></div>
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
</div>
|
||||
<span class="remove_link">
|
||||
{if !isset($customizedDatas.$productId.$productAttributeId) && (!isset($product.is_gift) || !$product.is_gift)}
|
||||
<a class="ajax_cart_block_remove_link" href="{$link->getPageLink('cart', true, NULL, "delete=1&id_product={$product.id_product|intval}&ipa={$product.id_product_attribute|intval}&id_address_delivery={$product.id_address_delivery|intval}&token={$static_token}")|escape:'html':'UTF-8'}{if isset($hotel_wise_data) && $hotel_wise_data.id_hotel}&id_hotel={$hotel_wise_data.id_hotel|escape:'html':'UTF-8'}{/if}" rel="nofollow" title="{l s='remove this product from my cart' mod='blockcart'}"> </a>
|
||||
<a class="ajax_cart_block_remove_link" href="{$link->getPageLink('cart', true, NULL, "delete=1&id_product={$product.id_product|intval}&ipa={$product.id_product_attribute|intval}&id_address_delivery={$product.id_address_delivery|intval}&token={$static_token}")|escape:'html':'UTF-8'}{if !empty($hotel_wise_data.id_hotel)}&id_hotel={$hotel_wise_data.id_hotel|escape:'html':'UTF-8'}{/if}" rel="nofollow" title="{l s='remove this product from my cart' mod='blockcart'}"> </a>
|
||||
{/if}
|
||||
</span>
|
||||
<div style="clear:both"></div>
|
||||
|
||||
@@ -217,7 +217,7 @@
|
||||
{if isset($id_hotel) && $id_hotel}
|
||||
<li><a href="#refund_policies_tab" class="idTabHrefShort" data-toggle="tab">{l s='Refund Policies'}</a></li>
|
||||
{/if}
|
||||
{if $display_google_maps && ($hotel_latitude|floatval != 0 && $hotel_longitude|floatval != 0)}
|
||||
{if $display_google_maps && !empty($hotel_latitude) && !empty($hotel_longitude) && ($hotel_latitude|floatval != 0 && $hotel_longitude|floatval != 0)}
|
||||
<li><a href="#room_type_map_tab" class="idTabHrefShort" data-toggle="tab">{l s='View on Map'}</a></li>
|
||||
{/if}
|
||||
{block name='displayProductTab'}
|
||||
@@ -399,7 +399,7 @@
|
||||
{/if}
|
||||
{/block}
|
||||
{block name='product_map_tab_content'}
|
||||
{if $display_google_maps && ($hotel_latitude|floatval != 0 && $hotel_longitude|floatval != 0)}
|
||||
{if $display_google_maps && !empty($hotel_latitude) && !empty($hotel_longitude) && ($hotel_latitude|floatval != 0 && $hotel_longitude|floatval != 0)}
|
||||
<div id="room_type_map_tab" class="tab-pane card">
|
||||
<div class="map-wrap"></div>
|
||||
<div id="room-info-map-ui-content" style="display: none;">
|
||||
|
||||
Reference in New Issue
Block a user