Collection.liquid

From Shopify Wiki

Jump to: navigation, search

Overview

This template is responsible for showing a list of products. There are several liquid variables available exclusively to this template such as tags, current_tags and collection.

You can access all the products related to the current collection using collection.products.

Example of usage:

<ul>
{% for product in collections.products %}
   <li><a href="{{product.url}}">{{product.title}}</a></li>
{% endfor %}
</ul>

Variables

The following variables are usable within label.liquid

Personal tools