{* * 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 *} {if !$opc} {addJsDef currencySign=$currencySign|html_entity_decode:2:"UTF-8"} {addJsDef currencyRate=$currencyRate|floatval} {addJsDef currencyFormat=$currencyFormat|intval} {addJsDef currencyBlank=$currencyBlank|intval} {addJsDefL name=txtProduct}{l s='product' js=1}{/addJsDefL} {addJsDefL name=txtProducts}{l s='products' js=1}{/addJsDefL} {capture name=path}{l s='Your payment method'}{/capture}

{l s='Please choose your payment method'}

{else}

3 {l s='Please choose your payment method'}

{/if} {if !$opc} {assign var='current_step' value='payment'} {include file="$tpl_dir./order-steps.tpl"} {include file="$tpl_dir./errors.tpl"} {else}
{/if}
{$HOOK_TOP_PAYMENT}
{if $HOOK_PAYMENT} {if !$opc}
{if $PS_STOCK_MANAGEMENT} {/if} {if $use_taxes} {if $priceDisplay} {else} {/if} {else} {/if} {if $total_shipping_tax_exc <= 0 && !isset($virtualCart)} {else} {if $use_taxes && $total_shipping_tax_exc != $total_shipping} {if $priceDisplay} {else} {/if} {else} {/if} {/if} {if $use_taxes && $show_taxes} {if $priceDisplay && $total_tax != 0} {/if} {else} {if $voucherAllowed} {/if} {/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} {assign var='cannotModify' value=1} {assign var='odd' value=$product@iteration%2} {assign var='noDeleteButton' value=1} {* 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[$product.id_address_delivery] 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} {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="./shopping-cart-product-line.tpl" productLast=$product@last productFirst=$product@first} {/foreach} {if count($discounts)} {foreach from=$discounts item=discount name=discountLoop} {/foreach} {/if}
{l s='Product'} {l s='Description'}{l s='Avail.'}{l s='Unit price'} {l s='Qty'} {l s='Total'}
{if $display_tax_label}{l s='Total products (tax excl.)'}{else}{l s='Total products'}{/if} {displayPrice price=$total_products}
{if $display_tax_label}{l s='Total products (tax incl.)'}{else}{l s='Total products'}{/if} {displayPrice price=$total_products_wt}
{l s='Total products'} {displayPrice price=$total_products}
{if $use_taxes} {if $priceDisplay} {if $display_tax_label}{l s='Total gift wrapping (tax excl.):'}{else}{l s='Total gift wrapping cost:'}{/if} {else} {if $display_tax_label}{l s='Total gift wrapping (tax incl.)'}{else}{l s='Total gift wrapping cost:'}{/if} {/if} {else} {l s='Total gift wrapping cost:'} {/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='Shipping:'} {l s='Free Shipping!'}
{if $use_taxes} {if $priceDisplay} {if $display_tax_label}{l s='Total vouchers (tax excl.)'}{else}{l s='Total vouchers'}{/if} {else} {if $display_tax_label}{l s='Total vouchers (tax incl.)'}{else}{l s='Total vouchers'}{/if} {/if} {else} {l s='Total vouchers'} {/if} {if $use_taxes} {if $priceDisplay} {displayPrice price=$total_discounts_tax_exc*-1} {else} {displayPrice price=$total_discounts*-1} {/if} {else} {displayPrice price=$total_discounts_tax_exc*-1} {/if}
{l s='Tax'} {displayPrice price=$total_tax}
{l s='Total'} {displayPrice price=$total_price}
{if isset($errors_discount) && $errors_discount}
    {foreach from=$errors_discount key=k item=error}
  • {$error|escape:'html':'UTF-8'}
  • {/foreach}
{/if} {if $voucherAllowed}

{l s='Vouchers'}

{if $displayVouchers}

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

{foreach from=$displayVouchers item=voucher} {$voucher.name} - {$voucher.description}
{/foreach}
{/if}
{/if}
{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} {l s='%s:' sprintf=$textField.name} {else} {l s='Text #%s:' sprintf=$smarty.foreach.typedText.index+1} {/if} {$textField.value}
  • {/foreach}
{/if} {/foreach}
{$customization.quantity}
{$discount.name} {if $discount.value_real > 0} {if !$priceDisplay} {displayPrice price=$discount.value_real*-1} {else} {displayPrice price=$discount.value_tax_exc*-1} {/if} {/if} 1 {if $discount.value_real > 0} {if !$priceDisplay} {displayPrice price=$discount.value_real*-1} {else} {displayPrice price=$discount.value_tax_exc*-1} {/if} {/if}
{/if} {if $opc}
{/if}
{$HOOK_PAYMENT}
{if $opc}
{/if} {else}

{l s='No payment modules have been installed.'}

{/if} {if !$opc}

{l s='Continue shopping'}

{else}
{/if}