account_home

The account_home.twig view hosts the home page of the registered customers account (the page they are taken to when they login).

It is used to display a summary of their account.


Past orders

Orders that the customer has placed can be accessed through the order object, e.g.

{% for order in orders %}
    ...
{% endfor %}

Considerations

You may want to display a quick link for the customer to edit the main stored address, e.g.

<a href="/account/create">edit your account details here</a>

If you are using the reward points app you can display the total number of points a customer has in their account with the {{ customer.reward_points }} variable.

The view has access to the customer object so you can display the current stored address and other information about the customer's account.