Hello, I’d like to add color swatches to my product option.
To do so I’ve created a metafields (type: color picker) and I was trying to add it in the code under the ‘variant_picker’ of product section.
I followed this video tutorial but unfortunately that method works only when product don’t have multiple options.
In my case I have 2 option, one with 5 values and the other with 3.
Is there a way to target only particular option when looping with ‘{{ product.variants[forloop.index0].metafields.color.value }}’ ?
I’m developing on Dawn theme 4.0
Thank you!