Color swatches on products
Published 19 minutes ago
Atelier shows round color or pattern swatches instead of text buttons for options like Color. Swatches use Shopify's built-in swatch data, so you set the colors once in Shopify admin and they appear everywhere: on the product page, on product cards and in collection filters.

Where swatches come from
With the default Swatch style (Color), Atelier doesn't guess colors from option names. A swatch appears only when the option value has swatch data in Shopify — a color, an image (for patterns and textures), or both. You get this data by linking the product's option to a category metafield:
- In Shopify admin, open the product and set its Category (for example Apparel & Accessories > Clothing > Shirts).
- In Variants, edit the Color option and connect it to the category's Color metafield.
- Choose a color entry for each option value. Shopify's color entries (the standard Color metaobjects) include a color, and you can add an image for patterns.
For a step-by-step walkthrough, including how to create your own colors and patterns, see Set up color swatches.
Color or product image swatches
Theme settings > Product cards > Swatch style sets how swatches look on product cards and on the product page:
- Color: each swatch is filled with the value's color, or its pattern image.
- Product image: each swatch shows a small, cropped photo of that color's variant image. Values without a variant image use their color instead. With this style, an option named Color or Colour (or the same word in French, German, Italian, Dutch or Portuguese) shows as swatches even if it isn't linked to the color metafield. Give each color's variants an image; values with neither an image nor a color show as a plain neutral circle.
On the product page
In the Variant picker block, turn on Show swatches for options that have them. Any option with swatch data then shows swatches, whichever Style (buttons or dropdown) you chose for the block. The selected value's name is shown next to the option name, and each swatch shows its name on hover.
Sold-out values stay visible and are marked as unavailable.
On product cards
Product cards show swatches for the first option that has swatch data, up to five, with "+3" (for example) when there are more. On desktop they sit to the right of the product title; on phones they move below the title. Hovering over or tapping a swatch shows that color's image on the card and links the card to that color.
For a swatch to change the card image, assign an image to the variants of that color in Shopify admin.
Turn card swatches on or off with Show color swatches in each section that shows product cards (for example the collection page, featured collection and related products).
In collection filters
Color filters can show swatches too. In the Shopify Search & Discovery app, filters based on a swatch-enabled option or on the Color category metafield are shown as swatches. Atelier then shows a swatch next to each filter value instead of a checkbox. See Show color filters as swatches.
When a swatch is missing
- No values have swatch data: the option is shown as normal buttons or a dropdown, depending on the Style setting. Product cards show no swatches.
- Some values have swatch data and others don't: the option is shown as swatches, and values without data appear as a plain neutral circle. Shoppers can still hover to see the name and select it. Fill in the missing colors to fix this.
- A value has both a color and an image: the image is used.
Tips
- Use a pattern or texture image for multi-color values (stripes, florals, tweeds). Small, tightly cropped images work best — swatches are shown very small.
- Keep color names short. They show in the swatch tooltip and next to the option name.
- Assign a variant image to every color, so swatches on product cards can switch the image and the product page can show the right photos with Show only the selected color’s media.