Color swatchesUpdated 5 months ago
If the color metafield is filled in for a product, we'll retrieve the corresponding swatch image from the files uploaded in Shopify using that value.
To create the correct swatch image, use the product's chosen color, such as "grey" or "bright pink," and size it to 50x50 pixels. The file should be named using the color name in lowercase and hyphenated if there are spaces and prefix it with swatch-, like swatch-grey.png
or swatch-bright-pink.png
.
These swatch images should then be uploaded to Shopify under Content > Files
.
Important to know! When you have multiple languages you will need to upload the translated swatch images as well. For example if the swatch image is named as swatch-blauw.png & you have an additional language such as English then you will need to upload also a new swatch image for the translation so swatch-blue.png