[-] FO : fixed bug #PSCFV-3853
This commit is contained in:
1 parent
ef6baf5f5e
commit
cc5c61ed52
2 files changed
+13
-4
No files matched your search
@@ -494,7 +494,7 @@ class OrderOpcControllerCore extends ParentOrderController
|
|||||||
}
|
}
|
||||||
|
|
||||||
$carriers = $this->context->cart->simulateCarriersOutput();
|
$carriers = $this->context->cart->simulateCarriersOutput();
|
||||||
$delivery_option = $this->context->cart->getDeliveryOption(null, true, false);
|
$delivery_option = $this->context->cart->getDeliveryOption(null, false, false);
|
||||||
$wrapping_fees = (float)(Configuration::get('PS_GIFT_WRAPPING_PRICE'));
|
$wrapping_fees = (float)(Configuration::get('PS_GIFT_WRAPPING_PRICE'));
|
||||||
$wrapping_fees_tax = new Tax((int)(Configuration::get('PS_GIFT_WRAPPING_TAX')));
|
$wrapping_fees_tax = new Tax((int)(Configuration::get('PS_GIFT_WRAPPING_TAX')));
|
||||||
$wrapping_fees_tax_inc = $wrapping_fees * (1 + (((float)($wrapping_fees_tax->rate) / 100)));
|
$wrapping_fees_tax_inc = $wrapping_fees * (1 + (((float)($wrapping_fees_tax->rate) / 100)));
|
||||||
|
|||||||
@@ -75,7 +75,11 @@
|
|||||||
{include file="$tpl_dir./breadcrumb.tpl"}
|
{include file="$tpl_dir./breadcrumb.tpl"}
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{if !$opc}<h1>{l s='Shipping'}</h1>{else}<h2><span>2</span> {l s='Delivery methods'}</h2>{/if}
|
{if !$opc}
|
||||||
|
<h1>{l s='Shipping'}</h1>
|
||||||
|
{else}
|
||||||
|
<h2><span>2</span> {l s='Delivery methods'}</h2>
|
||||||
|
{/if}
|
||||||
|
|
||||||
{if !$opc}
|
{if !$opc}
|
||||||
{assign var='current_step' value='shipping'}
|
{assign var='current_step' value='shipping'}
|
||||||
@@ -96,7 +100,11 @@
|
|||||||
{else}
|
{else}
|
||||||
<h3 class="carrier_title">{l s='Choose your delivery method'}</h3>
|
<h3 class="carrier_title">{l s='Choose your delivery method'}</h3>
|
||||||
|
|
||||||
<div id="HOOK_BEFORECARRIER">{if isset($carriers) && isset($HOOK_BEFORECARRIER)}{$HOOK_BEFORECARRIER}{/if}</div>
|
<div id="HOOK_BEFORECARRIER">
|
||||||
|
{if isset($carriers) && isset($HOOK_BEFORECARRIER)}
|
||||||
|
{$HOOK_BEFORECARRIER}
|
||||||
|
{/if}
|
||||||
|
</div>
|
||||||
{if isset($isVirtualCart) && $isVirtualCart}
|
{if isset($isVirtualCart) && $isVirtualCart}
|
||||||
<p class="warning">{l s='No carrier needed for this order'}</p>
|
<p class="warning">{l s='No carrier needed for this order'}</p>
|
||||||
{else}
|
{else}
|
||||||
@@ -195,7 +203,8 @@
|
|||||||
({l s='products concerned:'}
|
({l s='products concerned:'}
|
||||||
{/if}
|
{/if}
|
||||||
{* This foreach is on one line, to avoid tabulation in the title attribute of the acronym *}
|
{* This foreach is on one line, to avoid tabulation in the title attribute of the acronym *}
|
||||||
{foreach $carrier.product_list as $product}{if $product@index == 4}<acronym title="{/if}{if $product@index >= 4}{$product.name}{if !$product@last}, {else}">...</acronym>){/if}{else}{$product.name}{if !$product@last}, {else}){/if}{/if}{/foreach}
|
{foreach $carrier.product_list as $product}
|
||||||
|
{if $product@index == 4}<acronym title="{/if}{if $product@index >= 4}{$product.name}{if !$product@last}, {else}">...</acronym>){/if}{else}{$product.name}{if !$product@last}, {else}){/if}{/if}{/foreach}
|
||||||
{/if}
|
{/if}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Reference in new issue
Block a user