2 variant colors with same name swatches.json

I have different types of makeup products that have the same name, but colors are different. One example is a Foundation and Concealer with the same name as FAIR, but the swatch colors shouldn’t be the same. Is there a way to do this in json. When I enter FAIR as a swatch color, all products that have that same name will show the same color. Is there a way around this?

Hi @sensiaiq ,

Can you explain more about ‘Swatches.Json’, it’s not really clear for me to check.

when I got to Edit Code, under Assets and the file ‘swatches.json’ you can add colors to your product swatches by adding the name and the color code. For example:

“Mystic”: “333237”

the only problem is that if I have multiple products with the name “Mystic” it will use the same color code for all. Even though the colors are not the same. I need to see how to apply swatches to each type of product individually. if possible.

Hi @sensiaiq ,

Please send your site and if your site is password protected, please send me the password. I will check it.