{intl l="My Account"}
{hook name="account.top"}
{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"}- {format_address address=$ID html_tag='address' html_class='adr'}
- {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"}
{if $DEFAULT === 1} {$LABEL|default:$default} {intl l="Main Address"} {else} {$LABEL|default:$default} {/if} |
|
{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_money number=$TOTAL_TAXED_AMOUNT currency_id=$CURRENCY} | {loop type="order-status" name="order.status" id={$STATUS}} {assign "orderStatusCode" "order_$CODE"} {if #$orderStatusCode# == ''} {assign "defaultLabel" "label-default"} {assign "orderStatusLabel" $CODE} {else} {assign "defaultLabel" ''} {assign "orderStatusLabel" #$orderStatusCode#} {/if} {$TITLE} {/loop} | {intl l="Order details"} |
{intl l="Warning"}! {intl l="You don't have orders yet."}
{/elseloop}
{$content nofilter}