{% comment %} This section is used in the list-collections template to render a list of collections. https://shopify.dev/docs/storefronts/themes/architecture/templates/collection {% endcomment %}

{{ 'collections.title' | t }}

{% for collection in collections %} {% if collection.featured_image %} {% render 'image', class: 'collection-card__image', image: collection.featured_image, width: 600, height: 600, crop: 'center' %} {% endif %}

{{ collection.title }}

{% if collection.description %}

{{ collection.description | strip_html | truncatewords: 15 }}

{% endif %}
{% endfor %}
{% schema %} { "name": "t:general.collections_grid", "settings": [ { "type": "select", "id": "grid_item_width", "label": "t:labels.grid_item_width", "options": [ { "value": "collections--compact", "label": "t:options.size.small" }, { "value": "collections--full", "label": "t:options.size.large" } ], "default": "collections--full" }, { "type": "range", "id": "grid_gap", "label": "t:labels.grid_gap", "min": 0, "max": 50, "step": 5, "unit": "px", "default": 10 } ], "presets": [{ "name": "t:general.collections_grid" }] } {% endschema %}