{intl l="My Account"}
{loop type="customer" name="customer.info"}
{/loop}
{loop type="title" name="customer.title.info" id=$TITLE}{$SHORT}{/loop} {$FIRSTNAME|ucwords} {$LASTNAME|upper}
{loop type="address" name="address.default" default="true"}-
{if $COMPANY}
{$COMPANY}
{/if} {$ADDRESS1}
{if $ADDRESS2 != ""} {$ADDRESS2}
{/if} {if $ADDRESS3 != ""} {$ADDRESS3}
{/if} {$ZIPCODE} {$CITY}
{loop type="country" name="customer.country.info" id=$COUNTRY}{$TITLE}{/loop} - {if $PHONE != ""} {$PHONE} {/if} {if $CELLPHONE != ""} {$CELLPHONE} {/if} {mailto address="{$EMAIL}" encode="hex"}
- {intl l="Change my account information"} {intl l="Change my password"}
{intl l="Add a new address"}
{loop type="address" name="customer.addresses" customer="current"}
| {$LABEL|default:"{intl l='Address %nb' nb={$LOOP_COUNT}}"} |
|
{intl l="Edit"}
{if $DEFAULT != 1}
{intl l="Cancel"}
{/if}
|
|---|
{ifloop rel="customer.orders"}
{/ifloop}
{elseloop rel="customer.orders"}
| {intl l="Order number"} | {intl l="Date"} | {intl l="Amount"} | {intl l="Status"} | {intl l="View"} |
|---|---|---|---|---|
| {$REF} | {format_date date=$CREATE_DATE} | {format_number number=$TOTAL_TAXED_AMOUNT} {loop type="currency" name="order.currency" id={$CURRENCY}}{$SYMBOL}{/loop} | {loop type="order-status" name="order.status" id={$STATUS}}{assign "orderStatusLabel" "order_$CODE"}{$TITLE}{/loop} | {if $STATUS >=2} {intl l="Order details"} {/if} |
{intl l="Warning"}! {intl l="You don't have orders yet."}
{/elseloop}