{* * 2007-2011 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-2011 PrestaShop SA * @version Release: $Revision: 6594 $ * @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 $priceDisplay == 1}{convertPrice price=$cart->getOrderTotal(false)}{else}{convertPrice price=$cart->getOrderTotal(true)}{/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)} {/if} {if $priceDisplay == $smarty.const.PS_TAX_EXC}{displayWtPrice p="`$product.total`"}{else}{displayWtPrice p="`$product.total_wt`"}{/if}
{if isset($product.attributes_small)}
{$product.attributes_small} {/if} {if isset($customizedDatas.$productId.$productAttributeId)} {if !isset($product.attributes_small)}
{/if}
    {foreach from=$customizedDatas.$productId.$productAttributeId key='id_customization' item='customization' name='customizations'}
  • {$customization.quantity}x{if isset($customization.datas.$CUSTOMIZE_TEXTFIELD.0)} {$customization.datas.$CUSTOMIZE_TEXTFIELD.0.value|escape:html:'UTF-8'|replace:"
    ":" "|truncate:28} {else} {l s='Customization #' mod='blockcart'}{$id_customization|intval}{l s=':' 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} {/foreach}
{$discount.name|cat:' : '|cat:$discount.description|truncate:18:'...'|escape:'htmlall':'UTF-8'} -{if $discount.value_real != '!'}{if $priceDisplay == 1}{convertPrice price=$discount.value_tax_exc}{else}{convertPrice price=$discount.value_real}{/if}{/if} {l s='Delete'}
{/if}

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

{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'}