Variant swatches
Swatches are used to make variant selections easier and more intuitive for customers when they are selecting an option with color. Swatches appear throughout your theme in various places and can be used with custom images or hex code colors.

In order to display swatches on a product page or within a product card we can use metafield connected variant options. This might sound complicated but it's super easy to setup and works great out of the box.
1
Go to the product you want to update
2
Scroll to Category
3
Select the Category of your Product
4
Scroll to Variants
5
Click Add variant
6
Add a new option like Color or Material
7
Right of Option name, click matching metafield
eg. "Color" or "Material"

8
Enter Swatch names
9
Hit Save
Last updated
Was this helpful?