{** * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. *} {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 not $order.shipments && $order.carrier.name}

{l s='Carrier: %carrier_name%' sprintf=['%carrier_name%' => $order.carrier.name] d='Shop.Theme.Catalog'}

{/if}

{l s='Payment method: %payment_method%' sprintf=['%payment_method%' => $order.details.payment] d='Shop.Theme.Catalog'}

{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} {if $order.details.invoice_url || $order.details.reorder_url} {/if}
{/block}
{block name='order_status'}

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

{l s='Date' d='Shop.Theme.Global'} {l s='Status' d='Shop.Theme.Global'}
{foreach from=$order.history item=state}
{$state.history_date} {$state.ostate_name}
{/foreach}
{/block}
{block name='order_carriers'} {if $order.shipping} {if $order.shipments} {include file='customer/_partials/order-shipments.tpl'} {else} {include file='customer/_partials/order-carrier.tpl'} {/if} {/if} {/block}
{block name='order_addresses'}

{l s='Addresses' d='Shop.Theme.Customeraccount'}

{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}
{capture name='displayOrderDetail'}{hook h='displayOrderDetail'}{/capture} {if $smarty.capture.displayOrderDetail} {$smarty.capture.displayOrderDetail nofilter}
{/if} {block name='order_products'}

{l s='Products details' d='Shop.Theme.Customeraccount'}

{block name='order_detail'} {if $order.details.is_returnable} {if $order.shipments} {include file='customer/_partials/order-detail-return-multishipment.tpl'} {else} {include file='customer/_partials/order-detail-return.tpl'} {/if} {else} {if $order.shipments} {include file='customer/_partials/order-detail-no-return-multishipment.tpl'} {else} {include file='customer/_partials/order-detail-no-return.tpl'} {/if} {/if} {/block}
{/block}
{block name='order_messages'} {include file='customer/_partials/order-messages.tpl'} {/block} {/block}