[`My orders`]

{foreach $orders as $o} {foreachelse} {/foreach}
{$o.id_str} {$o.state->getName()} {if !empty($o.items)} {foreach $o.items as $i} {$i.name|escape} x {$i.quantity}
{/foreach} {/if}
{if $o.shipping_name} {$o.shipping_name|escape} {else}   {/if} {if $o.payment_name} {$o.payment_name|escape} {else}   {/if} {$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}