{* * 2007-2014 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2014 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {*************************************************************************************************************************************} {* IMPORTANT : If you change some data here, you have to report these changes in the ./blockcart-json.js (to let ajaxCart available) *} {*************************************************************************************************************************************} {if $ajax_allowed} {/if}

{l s='Cart' mod='blockcart'} {if $ajax_allowed}     {/if}

{$cart_qties} {l s='Products' mod='blockcart'} 1}style="display:none"{/if}>{l s='Product' mod='blockcart'} {if $cart_qties > 0} {if $priceDisplay == 1} {convertPrice price=$cart->getOrderTotal(false)} {else} {convertPrice price=$cart->getOrderTotal(true)} {/if} {/if} {l s='(empty)' mod='blockcart'}
{if $products}
{foreach from=$products item='product' name='myLoop'} {assign var='productId' value=$product.id_product} {assign var='productAttributeId' value=$product.id_product_attribute}
{$product.cart_quantity}x {$product.name|truncate:13:'...'|escape:html:'UTF-8'} {if !isset($customizedDatas.$productId.$productAttributeId) && (!isset($product.is_gift) || !$product.is_gift)} {/if} {if !isset($product.is_gift) || !$product.is_gift} {if $priceDisplay == $smarty.const.PS_TAX_EXC}{displayWtPrice p="`$product.total`"}{else}{displayWtPrice p="`$product.total_wt`"}{/if} {else} {l s='Free!' mod='blockcart'} {/if}
{if isset($product.attributes_small)}
{$product.attributes_small} {/if} {if isset($customizedDatas.$productId.$productAttributeId[$product.id_address_delivery])} {if !isset($product.attributes_small)}
{/if}
    {foreach from=$customizedDatas.$productId.$productAttributeId[$product.id_address_delivery] key='id_customization' item='customization' name='customizations'}
  • {$customization.quantity}x{if isset($customization.datas.$CUSTOMIZE_TEXTFIELD.0)} {$customization.datas.$CUSTOMIZE_TEXTFIELD.0.value|replace:"
    ":" "|truncate:28:'...'|escape:html:'UTF-8'} {else} {l s='Customization #%d:' sprintf=$id_customization|intval mod='blockcart'} {/if}
  • {/foreach}
{if !isset($product.attributes_small)}
{/if} {/if} {if isset($product.attributes_small)}{/if} {/foreach}
{/if}

{l s='No products' mod='blockcart'}

{if $discounts|@count > 0} {foreach from=$discounts item=discount} {if $discount.value_real > 0} {/if} {/foreach} {/if}

{$shipping_cost} {l s='Shipping' mod='blockcart'}
{if $show_wrapping} {assign var='cart_flag' value='Cart::ONLY_WRAPPING'|constant} {if $priceDisplay == 1}{convertPrice price=$cart->getOrderTotal(false, $cart_flag)}{else}{convertPrice price=$cart->getOrderTotal(true, $cart_flag)}{/if} {l s='Wrapping' mod='blockcart'}
{/if} {if $show_tax && isset($tax_cost)} {$tax_cost} {l s='Tax' mod='blockcart'}
{/if} {$total} {l s='Total' mod='blockcart'}

{if $use_taxes && $display_tax_label == 1 && $show_tax} {if $priceDisplay == 0}

{l s='Prices are tax included' mod='blockcart'}

{/if} {if $priceDisplay == 1}

{l s='Prices are tax excluded' mod='blockcart'}

{/if} {/if}

{if $order_process == 'order'}{l s='Cart' mod='blockcart'}{/if} {l s='Check out' mod='blockcart'}