Product

Product Options (Size, Color)

Loops option names and values—for example Color: Red, Blue.

Copy or embed this snippet

{% for option in product.options_with_values %}
  <fieldset>
    <legend>{{ option.name }}</legend>
    {% for value in option.values %}
      <label><input type="radio" name="{{ option.name }}" value="{{ value }}"> {{ value }}</label>
    {% endfor %}
  </fieldset>
{% endfor %}

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