Swatches
Theme settings – Swatches
Swatches are small color or image chips that show a product's variants, such as its colors. Customers can see the options at a glance, and choosing a swatch updates the product image.

1. Add color swatches with category metafields
Assign a product category
In your Shopify admin, open a product. In Category, choose a category that supports the Color metafield, such as Apparel & Accessories > Clothing > Clothing Tops > Shirts.

Connect the Color category metafield
In the product's variant options, click the dynamic source icon ⛁ to connect the option to the Color metafield.
To add your own option values, click Edit > Add new entry, fill in the fields and click Save.

See the swatches in your store
Once set up, swatches appear wherever the product's variants are shown.
2. Swatch settings
In the theme editor, click Theme settings, then open Swatches.
Type: What the swatch shows.
Color: The color of the option value.
Native: The image set on the option value, if it has one. Otherwise, its color.
Ratio: The shape of the swatch. Options: Square, Landscape or Circle.
Style: The corners of the swatch. Options: None (square corners) or Slightly rounded.
Last updated