{extends file='page.tpl'} {block name='page_title'} {l s='Your order is confirmed' d='Shop.Theme.Checkout'} {/block} {block name='page_content_container' prepend}

{l s='An email has been sent to your mail address %email%.' d='Shop.Theme.Checkout' sprintf=['%email%' => $order_customer.email]} {if $order.details.invoice_url} {* [1][/1] is for a HTML tag. *} {l s='You can also [1]download your invoice[/1]' d='Shop.Theme.Checkout' sprintf=[ '[1]' => "", '[/1]' => "" ] } {/if}

{block name='hook_order_confirmation'} {$HOOK_ORDER_CONFIRMATION nofilter} {/block}
{/block} {block name='page_content_container'}
{block name='order_confirmation_table'} {include file='checkout/_partials/order-confirmation-table.tpl' products=$order.products subtotals=$order.subtotals totals=$order.totals labels=$order.labels add_product_link=false } {/block}
{block name='order_details'}

{l s='Order details' d='Shop.Theme.Checkout'}

  • {l s='Order reference: %reference%' d='Shop.Theme.Checkout' sprintf=['%reference%' => "`$order.details.reference`"]}
  • {l s='Payment method: %method%' d='Shop.Theme.Checkout' sprintf=['%method%' => "`$order.details.payment`"]}
  • {if !$order.details.is_virtual}
  • {l s='Shipping method: %method%' d='Shop.Theme.Checkout' sprintf=['%method%' => "`$order.carrier.name`"]}
  • {/if} {if $order.details.recyclable}
  • {l s='You have given permission to receive your order in recycled packaging.' d="Shop.Theme.Customeraccount"}
  • {/if}
{/block}

{l s='Order subtotals' d='Shop.Istheme'}

{foreach $order.subtotals as $subtotal} {if $subtotal !== null && $subtotal.type !== 'tax' && $subtotal.label !== null}
{$subtotal.label} {if 'discount' == $subtotal.type}- {/if}{$subtotal.value}
{/if} {/foreach} {if !$configuration.display_prices_tax_incl && $configuration.taxes_enabled}
{$order.totals.total.label} {$order.labels.tax_short} {$order.totals.total.value}
{$order.totals.total_including_tax.label} {$order.totals.total_including_tax.value}
{else}
{$order.totals.total.label} {if $configuration.taxes_enabled && $configuration.display_taxes_label}{$order.labels.tax_short}{/if} {$order.totals.total.value}
{/if} {if $order.subtotals !== null && $order.subtotals.tax.label !== null}
{l s='%label%:' sprintf=['%label%' => $order.subtotals.tax.label] d='Shop.Theme.Global'} {$order.subtotals.tax.value}
{/if}
{block name='hook_payment_return'} {if ! empty($HOOK_PAYMENT_RETURN)}
{$HOOK_PAYMENT_RETURN nofilter}
{/if} {/block} {if !$registered_customer_exists} {block name='account_transformation_form'}
{include file='customer/_partials/account-transformation-form.tpl'}
{/block} {/if} {block name='hook_order_confirmation_1'} {hook h='displayOrderConfirmation1'} {/block} {block name='hook_order_confirmation_2'} {/block} {/block}