65 lines
2.3 KiB
Smarty
65 lines
2.3 KiB
Smarty
{*
|
|
* Copyright ETS Software Technology Co., Ltd
|
|
*
|
|
* NOTICE OF LICENSE
|
|
*
|
|
* This file is not open source! Each license that you purchased is only available for 1 website only.
|
|
* If you want to use this file on more websites (or projects), you need to purchase additional licenses.
|
|
* You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
|
|
*
|
|
* DISCLAIMER
|
|
*
|
|
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
|
* versions in the future.
|
|
*
|
|
* @author ETS Software Technology Co., Ltd
|
|
* @copyright ETS Software Technology Co., Ltd
|
|
* @license Valid for 1 website (or project) for each purchase of license
|
|
*}
|
|
{assign var='check_delivery' value=false}
|
|
{if $delivery_total_cart_weight >0}
|
|
{assign var='check_delivery' value=true}
|
|
<p>
|
|
{l s='Total cart weight' mod='ets_promotion'}: {$delivery_total_cart_weight_cal|escape:'html':'UTF-8'}{$delivery_total_cart_weight|escape:'html':'UTF-8'}kg
|
|
</p>
|
|
{/if}
|
|
{if $delivery_apply_to_carriers}
|
|
<p>
|
|
{l s='Apply to carriers' mod='ets_promotion'}:
|
|
{if $delivery_apply_to_carriers=='all'}
|
|
{l s='All' mod='ets_promotion'}
|
|
{else}
|
|
<ul class="pl_10">
|
|
{foreach from=$delivery_apply_to_carriers item='carrier'}
|
|
<li>- {$carrier.name|escape:'html':'UTF-8'}</li>
|
|
{/foreach}
|
|
</ul>
|
|
{/if}
|
|
</p>
|
|
{assign var='check_delivery' value=true}
|
|
{/if}
|
|
{if $zone_name}
|
|
<p>
|
|
{l s='Delivery zone' mod='ets_promotion'}: {$zone_name|escape:'html':'UTF-8'}
|
|
</p>
|
|
{assign var='check_delivery' value=true}
|
|
{/if}
|
|
{if $country_name}
|
|
<p>
|
|
{l s='Delivery country' mod='ets_promotion'}: {$country_name|escape:'html':'UTF-8'}
|
|
</p>
|
|
{assign var='check_delivery' value=true}
|
|
{/if}
|
|
{if $state_name}
|
|
<p>
|
|
{l s='Delivery state' mod='ets_promotion'}: {$state_name|escape:'html':'UTF-8'}
|
|
</p>
|
|
{assign var='check_delivery' value=true}
|
|
{/if}
|
|
{if $delivery_speed_grade > 0}
|
|
<p>
|
|
{l s='Speed grade' mod='ets_promotion'}: {$delivery_speed_grade_cal|escape:'html':'UTF-8'}{$delivery_speed_grade|escape:'html':'UTF-8'}
|
|
</p>
|
|
{assign var='check_delivery' value=true}
|
|
{/if}
|
|
{if !$check_delivery}--{/if} |