{** * 2007-2019 PrestaShop and Contributors * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License 3.0 (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: * https://opensource.org/licenses/AFL-3.0 * 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 https://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2019 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) * International Registered Trademark & Property of PrestaShop SA *} {extends file='customer/page.tpl'} {block name='page_title'} {l s='Order details' d='Shop.Theme.Customeraccount'} {/block} {block name='page_content'} {block name='order_infos'}
{l s='Order Reference %reference% - placed on %date%' d='Shop.Theme.Customeraccount' sprintf=['%reference%' => $order.details.reference, '%date%' => $order.details.order_date] }
{if $order.details.reorder_url} {/if}
  • {l s='Carrier' d='Shop.Theme.Checkout'} {$order.carrier.name}
  • {l s='Payment method' d='Shop.Theme.Checkout'} {$order.details.payment}
  • {if $order.details.invoice_url}
  • {l s='Download your invoice as a PDF file.' d='Shop.Theme.Customeraccount'}
  • {/if} {if $order.details.recyclable}
  • {l s='You have given permission to receive your order in recycled packaging.' d='Shop.Theme.Customeraccount'}
  • {/if} {if $order.details.gift_message}
  • {l s='You have requested gift wrapping for this order.' d='Shop.Theme.Customeraccount'}
  • {l s='Message' d='Shop.Theme.Customeraccount'} {$order.details.gift_message nofilter}
  • {/if}
{/block} {block name='order_history'}

{l s='Follow your order\'s status step-by-step' d='Shop.Theme.Customeraccount'}

{foreach from=$order.history item=state} {/foreach}
{l s='Date' d='Shop.Theme.Global'} {l s='Status' d='Shop.Theme.Global'}
{$state.history_date} {$state.ostate_name}
{foreach from=$order.history item=state}
{$state.history_date}
{$state.ostate_name}
{/foreach}
{/block} {if $order.follow_up}

{l s='Click the following link to track the delivery of your order' d='Shop.Theme.Customeraccount'}

{$order.follow_up}
{/if} {block name='addresses'}
{if $order.addresses.delivery}

{l s='Delivery address %alias%' d='Shop.Theme.Checkout' sprintf=['%alias%' => $order.addresses.delivery.alias]}

{$order.addresses.delivery.formatted nofilter}
{/if}

{l s='Invoice address %alias%' d='Shop.Theme.Checkout' sprintf=['%alias%' => $order.addresses.invoice.alias]}

{$order.addresses.invoice.formatted nofilter}
{/block} {$HOOK_DISPLAYORDERDETAIL nofilter} {block name='order_detail'} {if $order.details.is_returnable} {include file='customer/_partials/order-detail-return.tpl'} {else} {include file='customer/_partials/order-detail-no-return.tpl'} {/if} {/block} {block name='order_carriers'} {if $order.shipping}
{foreach from=$order.shipping item=line} {/foreach}
{l s='Date' d='Shop.Theme.Global'} {l s='Carrier' d='Shop.Theme.Checkout'} {l s='Weight' d='Shop.Theme.Checkout'} {l s='Shipping cost' d='Shop.Theme.Checkout'} {l s='Tracking number' d='Shop.Theme.Checkout'}
{$line.shipping_date} {$line.carrier_name} {$line.shipping_weight} {$line.shipping_cost} {$line.tracking nofilter}
{foreach from=$order.shipping item=line}
  • {l s='Date' d='Shop.Theme.Global'} {$line.shipping_date}
  • {l s='Carrier' d='Shop.Theme.Checkout'} {$line.carrier_name}
  • {l s='Weight' d='Shop.Theme.Checkout'} {$line.shipping_weight}
  • {l s='Shipping cost' d='Shop.Theme.Checkout'} {$line.shipping_cost}
  • {l s='Tracking number' d='Shop.Theme.Checkout'} {$line.tracking nofilter}
{/foreach}
{/if} {/block} {block name='order_messages'} {include file='customer/_partials/order-messages.tpl'} {/block} {/block}