{capture name=path}{l s='Your shopping cart'}{/capture} {include file=$tpl_dir./breadcrumb.tpl}

{l s='Shopping cart summary'}

{assign var='current_step' value='summary'} {include file=$tpl_dir./order-steps.tpl} {include file=$tpl_dir./errors.tpl} {if isset($empty)}

{l s='Your shopping cart is empty.'}

{else} {if isset($lastProductAdded) AND $lastProductAdded} {foreach from=$products item=product} {if $product.id_product == $lastProductAdded.id_product AND (!$product.id_product_attribute OR ($product.id_product_attribute == $lastProductAdded.id_product_attribute))}
{l s='Last added product'}
{$product.name|escape:'htmlall':'UTF-8'}
{$product.name|escape:'htmlall':'UTF-8'}
{if $product.attributes}{$product.attributes|escape:'htmlall':'UTF-8'}{/if}

{/if} {/foreach} {/if}

{l s='Your shopping cart contains'} {$productNumber} {if $productNumber == 1}{l s='product'}{else}{l s='products'}{/if}

{if $use_taxes} {if $priceDisplay} {else} {/if} {else} {/if} {if $total_discounts != 0} {if $use_taxes} {if $priceDisplay} {else} {/if} {else} {/if} {/if} {if $total_wrapping > 0} {if $use_taxes} {if $priceDisplay} {else} {/if} {else} {/if} {/if} {if $shippingCost > 0} {if $use_taxes} {if $priceDisplay} {else} {/if} {else} {/if} {/if} {if $use_taxes} {else} {/if} {if $free_ship > 0 AND !$isVirtualCart} {/if} {foreach from=$products item=product name=productLoop} {assign var='productId' value=$product.id_product} {assign var='productAttributeId' value=$product.id_product_attribute} {assign var='quantityDisplayed' value=0} {* Display the product line *} {include file=$tpl_dir./shopping-cart-product-line.tpl} {* Then the customized datas ones*} {if isset($customizedDatas.$productId.$productAttributeId)} {foreach from=$customizedDatas.$productId.$productAttributeId key='id_customization' item='customization'} {assign var='quantityDisplayed' value=$quantityDisplayed+$customization.quantity} {/foreach} {* If it exists also some uncustomized products *} {if $product.quantity-$quantityDisplayed > 0}{include file=$tpl_dir./shopping-cart-product-line.tpl}{/if} {/if} {/foreach} {if $discounts AND $total_discounts != 0} {foreach from=$discounts item=discount name=discountLoop} {/foreach} {/if}
{l s='Product'} {l s='Description'} {l s='Ref.'} {l s='Avail.'} {l s='Unit price'} {l s='Qty'} {l s='Total'}
{l s='Total products (tax excl.):'} {displayPrice price=$total_products}
{l s='Total products (tax incl.):'} {displayPrice price=$total_products_wt}
{l s='Total products:'} {displayPrice price=$total_products}
{l s='Total vouchers (tax excl.):'} {displayPrice price=$total_discounts_tax_exc}
{l s='Total vouchers (tax incl.):'} {displayPrice price=$total_discounts}
{l s='Total vouchers:'} {displayPrice price=$total_discounts_tax_exc}
{l s='Total gift-wrapping (tax excl.):'} {displayPrice price=$total_wrapping_tax_exc}
{l s='Total gift-wrapping (tax incl.):'} {displayPrice price=$total_wrapping}
{l s='Total gift-wrapping:'} {displayPrice price=$total_wrapping_tax_exc}
{l s='Total shipping (tax excl.):'} {displayPrice price=$shippingCostTaxExc}
{l s='Total shipping (tax incl.):'} {displayPrice price=$shippingCost}
{l s='Total shipping:'} {displayPrice price=$shippingCostTaxExc}
{l s='Total (tax excl.):'} {displayPrice price=$total_price_without_tax}
{l s='Total tax:'} {displayPrice price=$total_tax}
{l s='Total (tax incl.):'} {displayPrice price=$total_price}
{l s='Total:'} {displayPrice price=$total_price_without_tax}
{l s='Remaining amount to be added to your cart in order to obtain free shipping:'} {displayPrice price=$free_ship}
{foreach from=$customization.datas key='type' item='datas'} {if $type == $CUSTOMIZE_FILE}
    {foreach from=$datas item='picture'}
  • {/foreach}
{elseif $type == $CUSTOMIZE_TEXTFIELD}
    {foreach from=$datas item='textField' name='typedText'}
  • {if $textField.name}{$textField.name}{else}{l s='Text #'}{$smarty.foreach.typedText.index+1}{/if}{l s=':'} {$textField.value}
  • {/foreach}
{/if} {/foreach}
{l s='Delete'}

{$customization.quantity}

{l s='Add'}
{l s='Substract'}
{$discount.name} {$discount.description} {l s='Delete'} {if $discount.value_real > 0} {if !$priceDisplay}{displayPrice price=$discount.value_real*-1}{else}{displayPrice price=$discount.value_tax_exc*-1}{/if} {/if}
{if $voucherAllowed}
{if $errors_discount} {/if}

{l s='Vouchers'}

{/if} {$HOOK_SHOPPING_CART} {if ($carrier->id AND !$virtualCart) OR $delivery->id OR $invoice->id}
{if $delivery->id} {/if} {if $invoice->id} {/if} {if $carrier->id AND !$virtualCart}

{l s='Carrier:'}

{if isset($carrierPicture)}{l s='Carrier'}{/if} {$carrier->name|escape:'htmlall':'UTF-8'}
{/if}
{/if}

{l s='Next'} » « {l s='Continue shopping'}



{$HOOK_SHOPPING_CART_EXTRA}

{/if}