Skip to content

list-collection ​

The list-collection template handles the rendering of the page that lists all of the store's collections. This page is located at the /collections URL of the store.

Location ​

The list-collection template is located in the templates directory of the theme.

bash
└── theme
    ├── layout
    ├── templates
    │   ...
    │   ├── list-collection.json
    │   ...
    ...

Usage ​

You should paginate through the collections:

liquid
{% paginate collections by 24 cod %}
  {% for collection in items %}
    <!-- collection info -->
  {% endfor %}
{% endpaginate %}