{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}
{/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} {block name='page_footer'} {block name='my_account_links'} {/block} {/block}