{*************************************************************************************************************************************} {* 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} {* to perfectly play the tranfert animation, the script ifx.js has to be called here, but it creates a method conflict with jquery.serialScroll.js file *} {if !$order_page} {/if} {/if}

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

{if $cart_qties > 0}{$cart_qties}{/if} {l s='products' mod='blockcart'} {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} {if $cart_qties == 0}{if $cart_qties == 0}{l s='(empty)' mod='blockcart'}{/if}{/if}
{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 {t text=$product.name length='10' encode='true'} {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)}{t text=$customization.datas.$CUSTOMIZE_TEXTFIELD.0.value length='28' encode='true'} {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} {l s='Wrapping' mod='blockcart'} {if $priceDisplay == 1}{convertPrice price=$cart->getOrderTotal(false, 6)}{else}{convertPrice price=$cart->getOrderTotal(true, 6)}{/if}
{/if} {l s='Total' mod='blockcart'} {$total}

{if $priceDisplay == 2}

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

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

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

{/if}

{l s='Cart' mod='blockcart'} {l s='Check out' mod='blockcart'}