What's your biggest current challenge? Have your say in Community Polls along the right column.
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Pagination on Dawn's account page does not work.

Pagination on Dawn's account page does not work.

Awiny
Shopify Partner
1 0 0

Pagination on Dawn's account page does not work.

section/main-account.liquid
{% paginate customer.orders by 20 %}

{% endpaginate %}

I have only 11 orders in my store so changed to:
{% paginate customer.orders by 5 %}

{% endpaginate %}

Displayed order changes to 5 but pagination is not displayed.
If you try to output {{ paginate.pages }}, it will be displayed as "1".

Reply 1 (1)

Ted_Schroeder
Tourist
6 1 4

I'm having the same issue. I use:

{% paginate customer.orders by 20 %}
{% for order in customer.orders %}

 

and end with

 

{% endfor %}
{{ paginate | default_pagination }}
{% endpaginate %}