when listing many products, pages, articles etc its common to use pagination to limit the result into pages.
{% paginate collection.products by 25 %}
{% for product in collection.products %}
{% include 'productCard' %}
{% endfor %}
/* render the pagination buttons */
{% for p in (1..paginate.pages) %}
...
{% endfor %}
{% endpaginate %}
The pagination uses a page url query parameter like this: /collection/our-versions?page=1
It can be used with auto pagination or infinite scroll where the paginated content is fetched using js.
when listing many products, pages, articles etc its common to use
paginationto limit the result into pages.The pagination uses a
pageurl query parameter like this:/collection/our-versions?page=1It can be used with
auto paginationorinfinite scrollwhere the paginated content is fetched usingjs.