{% comment %} Set the extension of your color files below. Use 'png', 'jpeg', 'jpg' or 'gif'. {% endcomment %} {% assign file_extension = 'png' %} {% if swatch == blank %}
You must include the snippet swatch.liquid with the name of a product option.
Use: {% raw %}{% include 'swatch' with 'name of your product option here' %}{% endraw %}
Example: {% raw %}{% include 'swatch' with 'Color' %}{% endraw %}
You included the snippet swatch.liquid with the name of a product option — '{{ swatch }}'
— that does not belong to your product.
Use {% raw %}{% include 'swatch' with 'name of your product option here' %}{% endraw %}
Example: {% raw %}{% include 'swatch' with 'Color' %}{% endraw %}
This is case-sensitive! Do not put in 'color'
if your product option name is 'Color'
.