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: HTMLToLiquid Converter · Convert to Shopify section →

Generate Shopify sections

Free AI-powered converter — OS 2.0 compatible output with schema validation.

Start converting HTML