{* * 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: 8088 $ * @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"} {assign var='current_step' value='summary'} {include file="$tpl_dir./order-steps.tpl"}

{l s='Shopping cart summary'}

{include file="$tpl_dir./errors.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}*} {**} {assign var='economy' value=0} {assign var='strike_price' value=0} {foreach from=$products item=details} {foreach from=$details.products item=product name=productLoop} {assign var='economy' value=$economy + (($product.price_without_reduc * $product.quantity) - $product.total_wt)} {assign var='strike_price' value=$strike_price + ($product.price_without_reduc * $product.quantity)} {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} {/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'}{if $display_tax_label} {l s='(tax excl.)'}{/if}{l s=':'} {displayPrice price=$total_products}
{l s='Total products'}{if $display_tax_label} {l s='(tax incl.)'}{/if}{l s=':'} {displayPrice price=$total_products_wt}
{l s='Total products:'} {displayPrice price=$total_products}
{*{if $use_taxes} {if $priceDisplay} {l s='Total vouchers'}{if $display_tax_label} {l s='(tax excl.)'}{/if}{l s=':'} {else}*} {l s='Total vouchers'}{if $display_tax_label} {l s='(tax incl.)'}{/if}{l s=':'} {*{/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'}{if $display_tax_label} {l s='(tax excl.)'}{/if}{l s=':'} {else}*} {l s='Total gift-wrapping'}{if $display_tax_label} {l s='(tax incl.)'}{/if}{l s=':'} {*{/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}*}
{if $display_tax_label} {l s='Total (tax excl.):'} {else} {l s='Subtotal:'} {/if} {displayPrice price=$total_price_without_tax}
{if $display_tax_label} {l s='Total tax:'} {else} {l s='Estimated Sales Tax:'} {/if} {displayPrice price=$total_tax}
{if $display_tax_label} {l s='Total (tax incl.):'} {else} {l s='Total:'} {/if} {displayPrice price=$total_price}
{l s='Total:'} {displayPrice price=$total_price_without_tax}

{$details.title}

{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}
{$HOOK_SHOPPING_CART}

{l s='You have a voucher?'} {l s='Click here to use'}

{if $voucherAllowed} {/if} {if $economy > 0}

{l s='savings'} {displayPrice price=$economy} ({displayPrice price=$total_products_wt} {l s='instead of'} {displayPrice price=$strike_price})

{/if}

{l s='Shipping calculated its step 3'}

{* Define the style if it doesn't exist in the PrestaShop version*} {* Will be deleted for 1.5 version and more *} {if !isset($addresses_style)} {$addresses_style.company = 'address_company'} {$addresses_style.vat_number = 'address_company'} {$addresses_style.firstname = 'address_name'} {$addresses_style.lastname = 'address_name'} {$addresses_style.address1 = 'address_address1'} {$addresses_style.address2 = 'address_address2'} {$addresses_style.city = 'address_city'} {$addresses_style.country = 'address_country'} {$addresses_style.phone = 'address_phone'} {$addresses_style.phone_mobile = 'address_phone_mobile'} {$addresses_style.alias = 'address_title'} {/if} {* {if (($carrier->id AND !isset($virtualCart)) OR $delivery->id OR $invoice->id) AND !$opc}
{if !isset($formattedAddresses)} {if $delivery->id} {/if} {if $invoice->id} {/if} {else} {foreach from=$formattedAddresses item=address name=myLoop} {/foreach}

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