Set up color swatches
Published 19 minutes ago
Atelier shows color swatches — small circles filled with the actual color or a pattern image — instead of plain text buttons. They appear on the product page, on product cards and in collection filters. Atelier doesn't need any swatch settings of its own: it uses the colors you set up in Shopify admin with Shopify's standard Color metafield.
How it works
Each color, such as "Olive" or "Navy stripe", is saved once in Shopify as a Color entry with a color value (a hex code) and, optionally, an image for patterns. You link a product's Color option to these entries. Every product that uses "Olive" then shows the same swatch, and you only have to set it up once.
Step 1: Give the product a category
The Color metafield comes from Shopify's product categories, so the product needs one.
- In Shopify admin, go to Products and open a product.
- In Category, choose the product's category, for example Apparel & Accessories > Clothing > Shirts & Tops.
- Save. A Category metafields area appears, including Color.
Step 2: Link the Color option to the metafield
For a new option:
- In the Variants card, click Add options like size or color.
- Start typing "Color" in Option name and choose the Color suggestion marked as linked to the category metafield.
- In Option values, choose existing colors from the list, or type a new name to create a new color entry.
- Click Done and save.
For a product that already has a Color option:
- In the Variants card, click the Color option to edit it.
- Choose to connect it to the Color metafield (Shopify shows a link option next to the option name).
- Match each of your existing values to a color entry, creating new entries where needed, and save.


Step 3: Set each color's swatch
- In Shopify admin, go to Content > Metaobjects and open Color (Shopify's color pattern definition).
- Open a color entry, for example "Olive".
- Set the Color value (pick it or enter a hex code such as #4A5233). For prints and textures, add an Image — the image is used instead of the flat color.
- Save.
You can also edit an entry straight from the product's option values.
Where swatches appear
| Place | How to turn it on |
|---|---|
| Product page | Variant picker block > Show swatches for options that have them (on by default). |
| Product cards | Show color swatches in the Collection, Featured collection and Product recommendations sections. Clicking a swatch on a card shows that color's image. Theme settings > Product cards > Swatch style chooses between the swatch color and a small product image. |
| Collection filters | In the Search & Discovery app, add a filter based on the Color category metafield. See Show color filters as swatches. |
If an option has no swatch data, Atelier shows it as buttons (or a dropdown, depending on the Variant picker's Style).
Tips
- Assign an image to each color variant in the product's media. With Show only the selected color’s media on in the product section, choosing a swatch shows that color's photos.
- Keep color names consistent across products ("Olive", not "olive green" on one and "Olive" on another), so you reuse one swatch and your filters stay tidy.
- Choose swatch colors that match the real product under neutral light. Shoppers notice when a swatch is a different shade from the photo.