Collection

Collection from Section Setting

Loops products from a collection the merchant picked in the theme editor.

Copy or embed this snippet

{% assign featured = section.settings.collection %}
{% if featured != blank %}
  {% for product in featured.products limit: section.settings.limit %}
    {% render 'product-card', product: product %}
  {% endfor %}
{% endif %}

Embed this snippet on your blog or docs — attribution link appreciated: HTML to Liquid Converter · Convert to Shopify section →

Practice in the converter workspace

Draft OS 2.0 section output after you choose the right design pattern.