From 0067eff263ff53886fa12657bbce3c8d8c7d1dd1 Mon Sep 17 00:00:00 2001
From: Kevin Granger {l s='No payment modules have been installed.'} {l s='No payment modules have been installed.'}{l s='Please choose your payment method'}
{else}3 {l s='Please choose your payment method'}
{/if}
+{if !$opc}
+ {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 $use_taxes}
- {if $priceDisplay}
- {l s='Product'}
- {l s='Description'}
- {l s='Avail.'}
- {l s='Unit price'}
-
- {l s='Total'}
-
-
- {else}
- {if $display_tax_label}{l s='Total products (tax excl.)'}{else}{l s='Total products'}{/if}
- {displayPrice price=$total_products}
-
-
- {/if}
- {else}
- {if $display_tax_label}{l s='Total products (tax incl.)'}{else}{l s='Total products'}{/if}
- {displayPrice price=$total_products_wt}
-
-
- {/if}
- {l s='Total products'}
- {displayPrice price=$total_products}
-
-
- {if $total_shipping_tax_exc <= 0 && !isset($virtualCart)}
-
- {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}
-
-
-
- {else}
- {if $use_taxes && $total_shipping_tax_exc != $total_shipping}
- {if $priceDisplay}
-
- {else}
-
- {/if}
- {else}
-
- {/if}
- {/if}
- {l s='Shipping:'}
- {l s='Free Shipping!'}
-
-
- {if $use_taxes}
- {if $priceDisplay && $total_tax != 0}
-
- {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}
-
-
-
- {/if}
- {l s='Total tax:'}
- {displayPrice price=$total_tax}
-
-
- {else}
- {l s='Total'}
-
- {displayPrice price=$total_price}
-
-
- {if $voucherAllowed}
-
- {/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'}
-
-
- {/if}
-
- {foreach from=$errors_discount key=k item=error}
-
- {/if}
- {if $voucherAllowed}
-
- {/if}
-
- {l s='Total'}
-
-
- {displayPrice price=$total_price_without_tax}
-
-
-
+ {if $total_shipping_tax_exc <= 0 && !isset($virtualCart)}
+
- {foreach from=$customization.datas key='type' item='datas'}
- {if $type == $CUSTOMIZE_FILE}
-
+
- {foreach from=$datas item='picture'}
-
-
-
- {foreach from=$datas item='textField' name='typedText'}
-
+
+
-
+
+
+
+ {if $use_taxes}
+ {if $priceDisplay}
+ {l s='Product'}
+ {l s='Description'}
+ {l s='Avail.'}
+ {l s='Unit price'}
+
+ {l s='Total'}
+
+
+ {else}
+ {if $display_tax_label}{l s='Total products (tax excl.)'}{else}{l s='Total products'}{/if}
+ {displayPrice price=$total_products}
+
+
+ {/if}
+ {else}
+ {if $display_tax_label}{l s='Total products (tax incl.)'}{else}{l s='Total products'}{/if}
+ {displayPrice price=$total_products_wt}
+
+
+ {/if}
+ {l s='Total products'}
+ {displayPrice price=$total_products}
+
+
- {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}
-
+ {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}
- {l s='Text #%s:' sprintf=$smarty.foreach.typedText.index+1}
+ {if $display_tax_label}{l s='Total gift wrapping (tax incl.)'}{else}{l s='Total gift wrapping cost:'}{/if}
{/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}
-
-
-
-
- {/foreach}
-
- {/if}
- {$discount.name}
- {$discount.description}
-
-
- {if $discount.value_real > 0}
- {if !$priceDisplay}
- {displayPrice price=$discount.value_real*-1}
- {else}
- {displayPrice price=$discount.value_tax_exc*-1}
- {/if}
- {/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}
+
+
+
+ {else}
+ {if $use_taxes && $total_shipping_tax_exc != $total_shipping}
+ {if $priceDisplay}
+
+ {else}
+
+ {/if}
+ {else}
+
+ {/if}
+ {/if}
+ {l s='Shipping:'}
+ {l s='Free Shipping!'}
+
+
+ {if $use_taxes}
+ {if $priceDisplay && $total_tax != 0}
+
+ {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}
+
+
+
+ {/if}
+ {l s='Total tax:'}
+ {displayPrice price=$total_tax}
+
+
+ {else}
+ {l s='Total'}
+
+ {displayPrice price=$total_price}
+
+
+ {if $voucherAllowed}
+
+ {/if}
+
-{if !$opc}
-
-{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}
+ {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'}
+
+
+ {/if}
+
+ {foreach from=$errors_discount key=k item=error}
+
+ {/if}
+ {if $voucherAllowed}
+
+ {/if}
+
+ {l s='Total'}
+
+
+ {displayPrice price=$total_price_without_tax}
+
+
+
+ {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 from=$customization.datas key='type' item='datas'}
+ {if $type == $CUSTOMIZE_FILE}
+
+
+ {foreach from=$datas item='picture'}
+
+
+
+ {foreach from=$datas item='textField' name='typedText'}
+
+ {/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}
+
+
+
+
+
+
+ {/foreach}
+
+ {/if}
+ {$discount.name}
+ {$discount.description}
+
+
+ {if $discount.value_real > 0}
+ {if !$priceDisplay}
+ {displayPrice price=$discount.value_real*-1}
+ {else}
+ {displayPrice price=$discount.value_tax_exc*-1}
+ {/if}
+ {/if}
+
+
+
{l s='This store has not accepted your new order.'}
{else} -{if isset($lastProductAdded) AND $lastProductAdded} -+ + {$lastProductAdded.name|escape:'html':'UTF-8'} + +
+ {if isset($lastProductAdded.attributes) && $lastProductAdded.attributes} + + + {$lastProductAdded.attributes|escape:'html':'UTF-8'} + + + {/if} +{$lastProductAdded.name|escape:'html':'UTF-8'}
- {if isset($lastProductAdded.attributes) && $lastProductAdded.attributes}{$lastProductAdded.attributes|escape:'html':'UTF-8'}{/if} -| {l s='Product'} | -{l s='Description'} | -{l s='Avail.'} | -{l s='Unit price'} | -{l s='Qty'} | -{l s='Total'} | -- | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
- {if $voucherAllowed}
- {if isset($errors_discount) && $errors_discount}
-
{l s='Take advantage of our exclusive offers:'} -
- {foreach $displayVouchers as $voucher}
- {if $voucher.code != ''}{$voucher.code} - {/if}{$voucher.name}
- {/if}
- {/if}
- - {/foreach} - |
- {if $display_tax_label}{l s='Total products (tax excl.)'}{else}{l s='Total products'}{/if} | -{displayPrice price=$total_products} | -||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- {if $voucherAllowed}
- {if isset($errors_discount) && $errors_discount}
-
{l s='Take advantage of our exclusive offers:'} -
- {foreach $displayVouchers as $voucher}
- {if $voucher.code != ''}{$voucher.code} - {/if}{$voucher.name}
- {/if}
- {/if}
- - {/foreach} - |
- {if $display_tax_label}{l s='Total products (tax incl.)'}{else}{l s='Total products'}{/if} | -{displayPrice price=$total_products_wt} | -||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- {if $voucherAllowed}
- {if isset($errors_discount) && $errors_discount}
-
{l s='Take advantage of our exclusive offers:'} -
- {foreach $displayVouchers as $voucher}
- {if $voucher.code != ''}{$voucher.code} - {/if}{$voucher.name}
- {/if}
- {/if}
- - {/foreach} - |
- {l s='Total products'} | -{displayPrice price=$total_products} | -||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - {if $display_tax_label} - {if $use_taxes && $priceDisplay == 0} - {l s='Total vouchers (tax incl.):'} - {else} - {l s='Total vouchers (tax excl.)'} - {/if} - {else} - {l s='Total vouchers'} - {/if} - | -- {if $use_taxes && $priceDisplay == 0} - {assign var='total_discounts_negative' value=$total_discounts * -1} - {else} - {assign var='total_discounts_negative' value=$total_discounts_tax_exc * -1} - {/if} - {displayPrice price=$total_discounts_negative} - | -|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| {l s='Total (tax excl.)'} | -{displayPrice price=$total_price_without_tax} | -|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| {l s='Total tax'} | -{displayPrice price=$total_tax} | -|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| {l s='Total'} | - {if $use_taxes} -- {displayPrice price=$total_price} - | - {else} -- {displayPrice price=$total_price_without_tax} - | - {/if} -||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - |
- {foreach $customization.datas as $type => $custom_data}
- {if $type == $CUSTOMIZE_FILE}
-
-
+
-
-{if $show_option_allow_separate_package}
-
- allow_seperated_package}checked="checked"{/if} autocomplete="off"/> - - -{/if} -{if !$opc} - {if Configuration::get('PS_ALLOW_MULTISHIPPING')} -- - - - {/if} -{/if} - -{* 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 ((!empty($delivery_option) AND !isset($virtualCart)) OR $delivery->id OR $invoice->id) AND !$opc} -
- {if !isset($formattedAddresses) || (count($formattedAddresses.invoice) == 0 && count($formattedAddresses.delivery) == 0) || (count($formattedAddresses.invoice.formated) == 0 && count($formattedAddresses.delivery.formated) == 0)}
- {if $delivery->id}
-
-
- {/if}
- {if $invoice->id}
-
-
- {/if}
- {else}
- {foreach from=$formattedAddresses key=k item=address}
-
-
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| {$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}{else}{displayPrice price=$discount.value_tax_exc*-1}{/if} + | ++ {if strlen($discount.code)} + + + + {/if} + | +||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ allow_seperated_package}checked="checked"{/if} autocomplete="off"/> + +
{/if} -+ + +
{/if} {/if} - {l s='Continue shopping'} - + + {* 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 ((!empty($delivery_option) AND !isset($virtualCart)) OR $delivery->id OR $invoice->id) AND !$opc} +