Hello world!

 {% if option.name contains "サイズ" %}
                       <p class="color-name"> {{ option.name }}</p> 
                        {%- for optionSize in option.values -%}
                          <a style="text-decoration:none; color:#000; padding:3px; {% if optionSize.selected == true %}border:3px double black;{% endif %}" class="optionSize" {% if optionSize.selected == true %} style="border:3px double black;" {% endif %}  href="{{product.url}}?variant= {{optionSize.variant.id}}">{{optionSize.name}}</a>
                        {%endfor%}
                      {% endif %}
                      {% if option.name contains "サイズ" %}
                       <p class="color-name"> {{ option.name }}</p> 
                        {%- for optionSize in option.values -%}
                          <a style="text-decoration:none; color:#000; padding:3px; {% if optionSize.selected == true %}border:3px double black;{% endif %}" class="optionSize" {% if optionSize.selected == true %} style="border:3px double black;" {% endif %}  href="{{product.url}}?variant= {{optionSize.variant.id}}">{{optionSize.name}}</a>
                        {% endfor %}
                      {% endif %}

この記事を書いた人

f.yuya40@gmail.com