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

{l s='Shopping-cart summary'}

{l s='Résumé du panier'}

{if isset($account_created)}

{l s='Your account has been created.'}

{/if} {include file="$tpl_dir./errors.tpl"} {if isset($empty)}

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

{l s='Continue shopping'}

{elseif $PS_CATALOG_MODE}

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

{else} {if isset($lastProductAdded) AND $lastProductAdded}
{l s='Last product added'}
{$lastProductAdded.name|escape:'html':'UTF-8'}

{$lastProductAdded.name|escape:'html':'UTF-8'}

{if isset($lastProductAdded.attributes) && $lastProductAdded.attributes} {$lastProductAdded.attributes|escape:'html':'UTF-8'} {/if}
{/if} {assign var='total_discounts_num' value="{if $total_discounts != 0}1{else}0{/if}"} {assign var='use_show_taxes' value="{if $use_taxes && $show_taxes}2{else}0{/if}"} {assign var='total_wrapping_taxes_num' value="{if $total_wrapping != 0}1{else}0{/if}"} {* eu-legal *} {hook h="displayBeforeShoppingCartBlock"}
{assign var='col_span_subtotal' value='2'} {if $use_taxes} {if $priceDisplay} {**} {else} {**} {/if} {else} {**} {/if} {if $use_taxes} {if $priceDisplay} {assign var='total_saving' value='0'} {foreach from=$products item='product'} {$total_saving = $total_saving + (($product.price_without_specific_price-$product.price) * $product.cart_quantity) } {/foreach} {$total_saving = $total_saving + $total_discounts} {else} {assign var='total_saving' value='0'} {foreach from=$products item='product'} {$total_saving = $total_saving + (($product.price_without_specific_price-$product.price_wt) * $product.cart_quantity) } {/foreach} {$total_saving = $total_saving + $total_discounts} {/if} {/if} {if $use_taxes} {*if $free_shipping_ok} {else} {if $priceDisplay} {else} {/if} {/if*} {/if} {if $use_taxes} {if $priceDisplay} {assign var=taxe value=$total_price-$total_price_without_tax} {else} {/if} {/if} {if $use_taxes && $show_taxes} {**} {/if} {**} {assign var='odd' value=0} {assign var='have_non_virtual_products' value=false} {foreach $products as $product} {if $product.is_virtual == 0} {assign var='have_non_virtual_products' value=true} {/if} {assign var='productId' value=$product.id_product} {assign var='productAttributeId' value=$product.id_product_attribute} {assign var='quantityDisplayed' value=0} {assign var='odd' value=($odd+1)%2} {assign var='ignoreProductLast' value=isset($customizedDatas.$productId.$productAttributeId) || count($gift_products)} {* Display the product line *} {include file="$tpl_dir./shopping-cart-product-line.tpl" productLast=$product@last productFirst=$product@first} {* Then the customized datas ones*} {if isset($customizedDatas.$productId.$productAttributeId)} {foreach $customizedDatas.$productId.$productAttributeId[$product.id_address_delivery] as $id_customization=>$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" productLast=$product@last productFirst=$product@first}{/if} {/if} {/foreach} {assign var='last_was_odd' value=$product@iteration%2} {foreach $gift_products as $product} {assign var='productId' value=$product.id_product} {assign var='productAttributeId' value=$product.id_product_attribute} {assign var='quantityDisplayed' value=0} {assign var='odd' value=($product@iteration+$last_was_odd)%2} {assign var='ignoreProductLast' value=isset($customizedDatas.$productId.$productAttributeId)} {assign var='cannotModify' value=1} {* Display the gift product line *} {include file="$tpl_dir./shopping-cart-product-line.tpl" productLast=$product@last productFirst=$product@first} {/foreach} {if sizeof($discounts)} {foreach $discounts as $discount} {/foreach} {/if}
{l s='Product'} {l s='Unit price'} {l s='Qty'} {l s='Total'}  
{if $voucherAllowed} {if isset($errors_discount) && $errors_discount}
    {foreach $errors_discount as $k=>$error}
  • {$error|escape:'html':'UTF-8'}
  • {/foreach}
{/if}

{l s='Vouchers'}

{if $displayVouchers}

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

{foreach $displayVouchers as $voucher} {$voucher.name} : {if $voucher.code != ''}{$voucher.code|escape:'html':'UTF-8'} {/if}
{/foreach}
{/if} {/if}
{if $display_tax_label}{l s='Total products (tax excl.)'}{else}{l s='Total products'}{/if} {displayPrice price=$total_products} {l s='Total (tax excl.)'} {l s='(hors frais de port)'} {displayPrice price=($total_products - $total_discounts)}
{if $voucherAllowed} {if isset($errors_discount) && $errors_discount}
    {foreach $errors_discount as $k=>$error}
  • {$error|escape:'html':'UTF-8'}
  • {/foreach}
{/if}

{l s='Vouchers'}

{if $displayVouchers}

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

{foreach $displayVouchers as $voucher} {$voucher.name} : {if $voucher.code != ''}{$voucher.code|escape:'html':'UTF-8'} {/if}
{/foreach}
{/if} {/if}
{if $display_tax_label}{l s='Total TTC'}{else}{l s='Total products'}{/if} {displayPrice price=$total_products_wt} {l s='Total'} {l s='TTC'} {l s='(hors frais de port)'} {displayPrice price=($total_products_wt - $total_discounts)}
{if $voucherAllowed} {if isset($errors_discount) && $errors_discount}
    {foreach $errors_discount as $k=>$error}
  • {$error|escape:'html':'UTF-8'}
  • {/foreach}
{/if}

{l s='Vouchers'}

{if $displayVouchers}

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

{foreach $displayVouchers as $voucher} {$voucher.name} : {if $voucher.code != ''}{$voucher.code|escape:'html':'UTF-8'} {/if}
{/foreach}
{/if} {/if}
{l s='Total products'} {displayPrice price=$total_products} {l s='Total (tax excl.)'} {l s='(hors frais de port)'} {displayPrice price=($total_products - $total_discounts)}
{l s='frais de port'} {l s='GRATUIT'}
{l s='frais de port ht à partir de'} {displayPrice price=$total_shipping_tax_exc}
{l s='frais de port ttc à partir de'} {displayPrice price=$total_shipping}
{l s='Total HT'} {displayPrice price=$total_price_without_tax}
{l s='Total taxes'} {displayPrice price=$taxe}
{l s='Total (tax excl.)'} {l s='(hors frais de port)'} {displayPrice price=($total_products - $total_discounts)}
{l s='Total tax'} {displayPrice price=$total_tax}
{l s='Total'} {l s='TTC'} {l s='(hors frais de port)'} {displayPrice price=($total_products_wt - $total_discounts)}
{l s='économie réalisée'} {if $use_taxes}{if $priceDisplay}{l s='HT'}{else}{l s='TTC'}{/if}{/if} {displayPrice price=$total_saving}
{foreach $customization.datas as $type => $custom_data} {if $type == $CUSTOMIZE_FILE}
    {foreach $custom_data as $picture}
  • {/foreach}
{elseif $type == $CUSTOMIZE_TEXTFIELD}
    {foreach $custom_data as $textField}
  • {if $textField.name} {$textField.name} : {else} {l s='Text #'}{$textField@index+1} {/if} {$textField.value}
  • {/foreach}
{/if} {/foreach}
{if isset($cannotModify) AND $cannotModify == 1} {if $quantityDisplayed == 0 AND isset($customizedDatas.$productId.$productAttributeId)}{$customizedDatas.$productId.$productAttributeId|@count}{else}{$product.cart_quantity-$quantityDisplayed}{/if} {else}
{if $product.minimal_quantity < ($customization.quantity -$quantityDisplayed) OR $product.minimal_quantity <= 1} {else} {/if}
{/if}
{if isset($cannotModify) AND $cannotModify == 1} {else} {/if}
{$discount.name} {if !$priceDisplay}{displayPrice price=$discount.value_real*-1}{else}{displayPrice price=$discount.value_tax_exc*-1}{/if} 1 {if !$priceDisplay}{displayPrice price=$discount.value_real*-1} {l s='TTC'}{else}{displayPrice price=$discount.value_tax_exc*-1} {l s='HT'}{/if} {if strlen($discount.code)} {/if}
{if $show_option_allow_separate_package}

allow_seperated_package}checked="checked"{/if} autocomplete="off"/>

{/if} {if $remaining_for_free_shipping}
{l s='Il ne vous reste plus que'} {convertPrice price=$remaining_for_free_shipping} TTC {l s='d\'achat pour bénéficier de la livraison gratuite'}
{elseif $notEligible}
{l s='Un produit de votre panier n\'est pas eligible à la livraison gratuite'}
{elseif $free_shipping_ok == true || $totalWithoutShipping>=49}
{l s='Livraison offerte sur cette commande !'}
{else} {*
{l s='Pour bénéficier de la livraison gratuite, ajoutez le code promo LIVRAISON15 à votre panier' mod='blockcart'}
*}
{/if}
{l s='Les frais de port sont calculés définitivement à l’étape livraison' }
{$HOOK_SHOPPING_CART}

{if !$opc} {l s='Proceed to checkout'} {/if} {l s='Continue shopping'}

{if !empty($HOOK_SHOPPING_CART_EXTRA)}
{$HOOK_SHOPPING_CART_EXTRA}
{/if} {strip} {addJsDef currencySign=$currencySign|html_entity_decode:2:"UTF-8"} {addJsDef currencyRate=$currencyRate|floatval} {addJsDef currencyFormat=$currencyFormat|intval} {addJsDef currencyBlank=$currencyBlank|intval} {if isset($isOtherDelay) && $isOtherDelay } {addJsDef isOtherDelay=$isOtherDelay} {addJsDef otherDelayTitle=$otherDelayTitle} {addJsDefL name=txtOtherdelay}{l s='Attention, vous avez commandé des produits hors boutique ' js=1}{/addJsDefL} {addJsDefL name=txtOtherdelayPlus}{l s=', votre commande sera donc expédiée dans les délais habituels' js=1}{/addJsDefL} {/if} {addJsDef deliveryAddress=$cart->id_address_delivery|intval} {addJsDefL name=txtProduct}{l s='product' js=1}{/addJsDefL} {addJsDefL name=txtProducts}{l s='products' js=1}{/addJsDefL} {/strip} {/if}