Skip to content

Color swatches ​

This guide describes the Theme editor's Theme settings > Color swatches menu options.

Use the settings to specify how color swatches are displayed throughout your store. Color swatches are color icons that represent product color variants. A color swatch is like a visual variant picker that allows customers to select a product color option.

For general guidance with adjusting a theme setting, refer to Settings overview and Shopify help: Theme settings.

Set up color swatches ​

To set up color swatches:

  1. In the Theme editor, go to Theme settings > Color swatches.

  2. Select a setting described in the following table.

Setting nameDescription
Enable on product pagesUse the Enable on product pages option to show or hide Shopify native swatches on your store's Product pages. To learn how to set up Shopify native swatches, refer to Shopify help: Adding color swatches using category metafields.
Enable in product tilesUse the Enable in product tiles option to show or hide Shopify native swatches on product tiles.
Enable in filtersUse the Enable in filters option to show or hide Shopify native swatches inside the product filtering area on supported store pages.
Theme color swatches > Enable on product pagesUse the Enable on product pages option to show or hide Theme color swatches on your store's Product pages. To use this option: In the Product pages section for a product with color variants, add a Variant picker block, and then, inside the Variant picker block's settings menu, set Options style to Button. Support for theme color swatches is provided for compatibility and may be removed in the future. We recommend using Shopify native swatches going forward. Refer to our Set up color swatches guide.
Theme color swatches > Enable in product tilesUse the Enable in product tiles option to show or hide Theme color swatches on product tiles.
Theme color swatches > Enable in filtersUse the Enable in filters option to show or hide Theme color swatches inside the product filtering area on supported store pages. To use this setting, install the Shopify Search & Discovery app. Use the app to create a filter that adds a product filtering option for Color. For collections, set the Collection section to use a collection that contains products with color variants.

Note

To connect a metafield to a setting that supports metafields, select the Connect dynamic source icon displayed beside the setting in the Theme editor.

To learn how to connect a metafield to a supported setting, refer to Shopify help: Connecting metafields to your theme by using the Theme editor.