-
{% if product.siblings.size > 0 %}
{% assign types = product.siblings | map: 'product_type' | uniq %}
{% for type in types %}
{% if type == blank %}{% continue %}{% endif %}
- {{ type | split : ' - ' | last }} {% endfor %} {% unless types contains product.type %} {% assign productType = product.type | handlize %}
- {{ productType | split : ' - ' | last }} {% endunless %} {% endif %}
Select: {{ option.name }}
{% assign position = option.position %} {% for variant in product.variants %} {% assign option_value = 'option' | append: position %} {% assign op = variant[option_value] %}Value: {{ op }}
{% endfor %} {% endunless %} {% endfor %}