This page was printed on Nov 15, 2019. For the current version, visit https://help.shopify.com/en/themes/development/templates/customers-account.
customers/account.liquid template is used to display a summary of the visitor's customer account.
Showing the customer's recent orders
To display the customer's recent orders, run a for loop through the customer.orders array, and output the attributes of the order variable within it.
Displaying the customer's default address
To display the customer's default address, output the attributes of the customer.default_address, which shares the same attributes as customer_address.
You can paginate the results on the
customers/account.liquid page, for example open and close your page with this code: