{* * 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: 1.4 $ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {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"} {if isset($empty)}

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

{elseif $PS_CATALOG_MODE}

{l s='This store has not accepted your new order.'}

{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 isset($product.attributes) && $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 $use_taxes} {if $priceDisplay} {else} {/if} {else} {/if} {if $use_taxes} {else} {/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 sizeof($discounts)} {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}
{if $use_taxes} {if $priceDisplay} {l s='Total vouchers (tax excl.):'} {else} {l s='Total vouchers (tax incl.):'} {/if} {else} {l s='Total vouchers:'} {/if} {if $use_taxes} {if $priceDisplay} {displayPrice price=$total_discounts_tax_exc} {else} {displayPrice price=$total_discounts} {/if} {else} {displayPrice price=$total_discounts_tax_exc} {/if}
{if $use_taxes} {if $priceDisplay} {l s='Total gift-wrapping (tax excl.):'} {else} {l s='Total gift-wrapping (tax incl.):'} {/if} {else} {l s='Total gift-wrapping:'} {/if} {if $use_taxes} {if $priceDisplay} {displayPrice price=$total_wrapping_tax_exc} {else} {displayPrice price=$total_wrapping} {/if} {else} {displayPrice price=$total_wrapping_tax_exc} {/if}
{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}
{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'}
{l s='Add'}
{if $product.minimal_quantity < ($customization.quantity -$quantityDisplayed) OR $product.minimal_quantity <= 1} {l s='Subtract'} {else} {l s='Subtract'} {/if}
{$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 isset($errors_discount) && $errors_discount} {/if}

{l s='Vouchers'}

{if $displayVouchers}

{l s='Take advantage of our offers:'}

{foreach from=$displayVouchers item=voucher} {$voucher.name} - {$voucher.description}
{/foreach}
{/if}
{/if}
{$HOOK_SHOPPING_CART}
{if (($carrier->id AND !isset($virtualCart)) OR $delivery->id OR $invoice->id) AND !$opc}
{if $delivery->id} {/if} {if $invoice->id} {/if} {if $carrier->id AND !isset($virtualCart)}

{l s='Carrier:'}

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

{if !$opc}{l s='Next'} »{/if} « {l s='Continue shopping'}



{$HOOK_SHOPPING_CART_EXTRA}

{/if}