customers/account template renders the customer account page, which provides an overview of the customer’s account.
customers/account template is located in the
customers directory of the theme:
You should include the customer object in your
customers/account template or a section inside of the template.
The customer objectAnchor link to section titled "The customer object"
You can access the Liquid
customer object to display the customer account details.
When working with the
customers/account template, you should familiarize yourself with the following:
Show the customer’s ordersAnchor link to section titled "Show the customer’s orders"
You should show customers a list of their orders. These can be accessed through the
order attribute of the customer object, and have a limit of 20 per page. For this reason, you should paginate orders to ensure that they’re all accessible:
Show the customer’s default addressAnchor link to section titled "Show the customer’s default address"