We're constantly trying to improve your support experience, and your feedback is extremely valuable to us.

Please take a moment to tell us about your experience today.
Sign up for future Help Center user research studies.


The customers/account.liquid template is used to display a summary of the visitor's customer account.

Template Considerations

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.

{% for order in customer.orders %}
  <!-- order details here -->
{% endfor %}

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.

{% if customer.default_address %}
  <p>{{ customer.default_address.address1 }}</p>
  {% if customer.default_address.address2 != "" %}
    <p>{{ customer.default_address.address2 }}</p>
  {% endif %}
  <p>{{ customer.default_address.city}}, {% if address.province_code %}{{ customer.default_address.province_code }}, {% endif %}{{ customer.default_address.country }}</p>
  <p>{{ customer.default_address.zip }}</p>
  <p>{{ customer.default_address.phone }}</p>
{% endif %}


You can paginate the results on the customers/account.liquid page, for example open and close your page with this code:

<div id="customer_orders">
  {% paginate customer.orders by 10 %}
  {% if customer.orders.size != 0 %}

    <!-- Content for account.liquid page -->

  {% else %}
    <p>You haven't placed any orders yet.</p>
  {% endif %}
  {{ paginate | default_pagination }}
  {% endpaginate %}

Ready to start selling with Shopify?

Try it free