{$wa->myNav('subcategory')}
{include file="`$wa_active_theme_path`/breadcrumb.html" inline}

[`My orders`]

[`Orders`]: {$orders|@count}

{foreach $orders as $o} {foreachelse} {/foreach}
[`Order`] [`Status`] [`Products`] [`Total`] [`Date`]
{$o.state->getName()} {if !empty($o.items)} {foreach $o.items as $i} {if $i.type == 'service'} {$i.name|escape} (x{$i.quantity}) {else} {$products = $wa->shop->product($i.product_id)}
{$i.name|escape} (x{$i.quantity})
{/if} {/foreach} {/if}
{wa_currency($o.total, $o.currency)} {$o.create_datetime|wa_date:'humandate'}
[`You have no order history yet.`]
{$wa->globals('isMyAccount', true)} {* @event frontend_my_orders.%plugin_id% *} {foreach $frontend_my_orders as $_}{$_}{/foreach}