Skip to content

paginate

Splits a list into pages.

Works on paginated lists (collection.products, blog.articles, search.results, collections, customer.orders). Page size 1 to 250; the page comes from ?page=. Inside, paginate has the page links; pass it to default_pagination for ready-made links.

{% paginate collection.products by 24 %}…{% endpaginate %}
Name Type Description
list (required) array A paginated list.
by (required) number Items per page (1 to 250).

Since theme platform 1.0.

Was this page helpful?