Variant swatches
Last updated
Was this helpful?
Last updated
Was this helpful?
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.
Go to the product you want to update
Scroll to Category
Select the Category of your Product
Scroll to Variants
Click Add variant
Add a new option like Color or Material
Right of Option name, click matching metafield
eg. "Color" or "Material"
Enter Swatch names
Hit Save