How To Create Color Swatches for Product Variants in Shopify (Dawn Theme)

https://youtu.be/tAF-HiXaRLM Copy Below Code and replace with Line: 202, 203, 204 of Sections/main-product.liquid {% if product.variants[forloop.index0].metafields.color.values and option.name == 'Color' %} <label for="{{ section.id }}-{{ option.name }}-{{ forloop.index0 }}" style="background-color:…

Continue ReadingHow To Create Color Swatches for Product Variants in Shopify (Dawn Theme)