{* supreme 1.7.3 *} {if !empty($pin_required)}

[`Order`] {$encoded_order_id}

{if $wrong_pin}

[`PIN is not valid`]

{/if}

[`Please enter a 4-digit PIN that you received with your order receipt by email.`]

{else}

[`Order`] {$order.id_str} {$order.state->getName()}

{$order.create_datetime|wa_date:'humandatetime'}

[`Shipping`] {if $order.shipping_name} — {$order.shipping_name} {/if}

{if !empty($order.params.tracking_number)} [`Shipment tracking number`]: {$order.params.tracking_number}
{/if} {if !empty($tracking) && $order.state->getId() != 'completed'}
{$tracking}
{/if}

{$contact.name|escape}
{if $shipping_address} {$shipping_address} {/if}

[`Payment`] {if $order.payment_name} — {$order.payment_name} {/if}

{if !empty($payment)}
{$payment}
{/if}

{$contact.name|escape}
{if $billing_address} {$billing_address} {/if}

{if !empty($order.comment)}

[`Comment`]

{$order.comment|escape}

{/if} {foreach $order.items as $item} {/foreach} {if $order.tax > 0} {/if}
[`Quantity`] [`Total`]
{if $item.type == 'service'}+ {/if}{$item.name} {if $item.type == 'product' && !empty($item.download_link)}[`Download`]{/if} {wa_currency_html($item.price, $order.currency)} x {$item.quantity} {wa_currency_html($item.price * $item.quantity, $order.currency)}
[`Subtotal`] {wa_currency_html($subtotal, $order.currency)}
[`Discount`] − {wa_currency_html($order.discount, $order.currency)}
[`Shipping`] {if !empty($order.params.shipping_name)} ({$order.params.shipping_name}) {/if} {wa_currency_html($order.shipping, $order.currency)}
[`Tax`] {wa_currency_html($order.tax, $order.currency)}
[`Total`] {wa_currency_html($order.total, $order.currency)}
{/if} {$wa->globals('isMyAccount', true)} {if empty($theme_settings.debug_disable_shop_frontend_my_order) && empty($theme_settings.debug_disable_shop_all) && empty($theme_settings.debug_disable_all_hooks)} {* @event frontend_my_order.%plugin_id% *} {foreach $frontend_my_order as $_}{$_}{/foreach} {/if}