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

{l s='Order placed on'} {dateFormat date=$order->date_add full=0}

{if count($order_history)}

{l s='Follow your order step by step'}

{foreach from=$order_history item=state name="orderStates"} {/foreach}
{l s='Date'} {l s='Status'}
{dateFormat date=$state.date_add full=1} {$state.ostate_name|escape:'htmlall':'UTF-8'}
{/if} {if isset($followup)}

{l s='Click the following link to track the delivery of your order'}

{$followup|escape:'htmlall':'UTF-8'} {/if}

{l s='Order:'} {l s='#'}{$order->id|string_format:"%06d"}

{if $carrier->id}

{l s='Carrier:'} {if $carrier->name == "0"}{$shop_name|escape:'htmlall':'UTF-8'}{else}{$carrier->name|escape:'htmlall':'UTF-8'}{/if}

{/if}

{l s='Payment method:'} {$order->payment|escape:'htmlall':'UTF-8'}

{if $invoice AND $invoiceAllowed}

{l s='Download your invoice as a .PDF file'}

{/if} {if $order->recyclable}

 {l s='You have given permission to receive your order in recycled packaging.'}

{/if} {if $order->gift}

 {l s='You requested gift-wrapping for your order.'}

{l s='Message:'} {$order->gift_message|nl2br}

{/if}
{$HOOK_ORDERDETAILDISPLAYED} {if !$is_guest}
{/if}
{if $return_allowed}{/if} {if $priceDisplay && $use_tax} {/if} {if $order->total_discounts > 0} {/if} {if $order->total_wrapping > 0} {/if} {foreach from=$products item=product name=products} {if !isset($product.deleted)} {assign var='productId' value=$product.product_id} {assign var='productAttributeId' value=$product.product_attribute_id} {if isset($customizedDatas.$productId.$productAttributeId)}{assign var='productQuantity' value=$product.product_quantity-$product.customizationQuantityTotal}{else}{assign var='productQuantity' value=$product.product_quantity}{/if} {if isset($customizedDatas.$productId.$productAttributeId)} {if $return_allowed}{/if} {foreach from=$customizedDatas.$productId.$productAttributeId item='customization' key='customizationId'} {if $return_allowed}{/if} {/foreach} {/if} {if $product.product_quantity > $product.customizationQuantityTotal} {if $return_allowed}{/if} {/if} {/if} {/foreach} {foreach from=$discounts item=discount} {if $return_allowed} {/if} {/foreach}
{l s='Reference'} {l s='Product'} {l s='Quantity'} {l s='Unit price'} {l s='Total price'}
{l s='Total products (tax excl.):'} {displayWtPriceWithCurrency price=$order->getTotalProductsWithoutTaxes() currency=$currency convert=0}
{l s='Total products'} {if $use_tax}{l s='(tax incl.)'}{/if}: {displayWtPriceWithCurrency price=$order->getTotalProductsWithTaxes() currency=$currency convert=0}
{l s='Total vouchers:'} {displayWtPriceWithCurrency price=$order->total_discounts currency=$currency convert=1}
{l s='Total gift-wrapping:'} {displayWtPriceWithCurrency price=$order->total_wrapping currency=$currency convert=0}
{l s='Total shipping'} {if $use_tax}{l s='(tax incl.)'}{/if}: {displayWtPriceWithCurrency price=$order->total_shipping currency=$currency convert=0}
{l s='Total:'} {displayWtPriceWithCurrency price=$order->total_paid currency=$currency convert=0}
{foreach from=$customization.datas key='type' item='datas'} {if $type == $CUSTOMIZE_FILE}
    {foreach from=$datas item='data'}
  • {/foreach}
{elseif $type == $CUSTOMIZE_TEXTFIELD}
    {counter start=0 print=false} {foreach from=$datas item='data'} {assign var='customizationFieldName' value="Text #"|cat:$data.id_customization_field}
  • {$data.name|default:$customizationFieldName}{l s=':'} {$data.value}
  • {/foreach}
{/if} {/foreach}
{$discount.name|escape:'htmlall':'UTF-8'} {l s='Voucher:'} {$discount.name|escape:'htmlall':'UTF-8'} 1   {if $discount.value != 0.00}{l s='-'}{/if}{convertPriceWithCurrency price=$discount.value currency=$currency convert=0} 

{if !$is_guest} {if $return_allowed}

{l s='Merchandise return'}

{l s='If you wish to return one or more products, please mark the corresponding boxes and provide an explanation for the return. Then click the button below.'}


{/if}
{if count($messages)}

{l s='Messages'}

{foreach from=$messages item=message name="messageList"} {/foreach}
{l s='From'} {l s='Message'}
{if isset($message.ename) && $message.ename} {$message.efirstname|escape:'htmlall':'UTF-8'} {$message.elastname|escape:'htmlall':'UTF-8'} {elseif $message.clastname} {$message.cfirstname|escape:'htmlall':'UTF-8'} {$message.clastname|escape:'htmlall':'UTF-8'} {else} {$shop_name|escape:'htmlall':'UTF-8'} {/if}
{dateFormat date=$message.date_add full=1}
{$message.message|nl2br}
{/if} {if isset($errors) && $errors}

{if $errors|@count > 1}{l s='There are'}{else}{l s='There is'}{/if} {$errors|@count} {if $errors|@count > 1}{l s='errors'}{else}{l s='error'}{/if} :

    {foreach from=$errors key=k item=error}
  1. {$error}
  2. {/foreach}
{/if}

{l s='Add a message:'}

{l s='If you would like to add a comment about your order, please write it below.'}

{else}

 {l s='You can\'t make a merchandise return with a guest account'}

{/if}