Guides

Horizon color swatches on the collection page: add the Swatches block to the product card

Horizon shows color swatches on the collection page through a theme block called "Swatches" inside the product card. In our test of Horizon 4.5.0 we added it to the collection's "Product card", saved, and the test product's card showed color fields; clicking Blue swapped the card image for the Blue variant image. No code was needed. Shopify's Help Center has no guide for this, so the steps below are the ones we clicked.

  • The block's editor description: "Displays swatches from parent product".
  • Theme Store lists "Color swatches" and "Swatch filters" for Horizon.

Last checked:

Our test

Only the product with a connected color option got swatches on its card

We worked in an unpublished copy of Horizon 4.5.0 with one test product, BrandUp Test Tee, whose Color option (Black, White, Blue) is connected to the color category metafield. After adding the "Swatches" block to the product card of the collection template, the card of that product showed color fields in the 1440 px and the 390 px wide view. The other products in the collection got none, because they have no option with swatch values.

A click on the Blue field replaced the card image with the Blue variant image, without leaving the collection. One detail did not go to plan: the new block was inserted above the product image and stayed there, because moving it below the price did not work with the browser automation we used. In the editor you can drag it by hand. Checked on 2 Dec 2026.

Step by step

Five clicks to card swatches in Horizon 4.5.0

Carried out in Horizon 4.5.0 on 2 Dec 2026. The screenshots below start with the collection before the change and end with the card after a click on Blue.

  1. Open Horizon in the editor

    "Online Store" > "Themes" > Horizon (4.5.0) > "Edit theme".

  2. Switch to the collection page

    Pick "collection" in the page selector.

  3. Add a block to the product card

    "Template" > "Collection" > "Product card" > "Add block".

  4. Search for the block

    Type "Swatch" and choose "Swatches" (group Product). Its settings are "Alignment", "Mobile alignment" and "Padding".

  5. Save and position it

    Click "Save". If the block landed above the image, drag it to the place under the title or price where you want the swatches.

Horizon 4.5.0: collection default, 1440 px wide view, own test
Own test in the BrandUp test store, Horizon 4.5.0, 2 Dec 2026 (1440 px wide view).
Horizon 4.5.0: editor add block swatches search, theme editor, own test
Own test in the BrandUp test store, Horizon 4.5.0, 2 Dec 2026 (theme editor).
Horizon 4.5.0: editor card swatches settings, theme editor, own test
Own test in the BrandUp test store, Horizon 4.5.0, 2 Dec 2026 (theme editor).
Horizon 4.5.0: collection card swatches, 1440 px wide view, own test
Own test in the BrandUp test store, Horizon 4.5.0, 2 Dec 2026 (1440 px wide view).
Horizon 4.5.0: collection card swatches, 390 px wide view, own test
Own test in the BrandUp test store, Horizon 4.5.0, 2 Dec 2026 (390 px wide view).
Horizon 4.5.0: collection card swatch click blue, 1440 px wide view, own test
Own test in the BrandUp test store, Horizon 4.5.0, 2 Dec 2026 (1440 px wide view).

Documentation and test

Documented only in the theme's code, working in the editor

There is no Help Center tutorial for swatches on Horizon's product cards. What we found in the editor of Horizon 4.5.0 was a working "Swatches" block. The Shopify Theme Store page for Horizon lists "Color swatches" and "Swatch filters" as features, without saying where the swatches appear, and the Help Center tutorial on category metafield swatches requires a variant option connected to a color category metafield with color entries, which applies to cards as well.

Horizon's public source code fills in the rest, read but not tested by us. The block file is blocks/swatches.liquid; it is listed among the default child blocks of the product card block, and it renders nothing unless at least one option of the product has values with a swatch. The card uses the first option that has swatch values and ignores the option's name. On hover or click a swatch previews the variant's featured media, and in search results and filtered collections it can be pre-selected.

Not tested

Swatch styling and filters were outside the test

According to Horizon's source code, the theme settings have a "Swatches" group with width, height and border radius (defaults 30, 30 and 100) and a border setting. We did not change any of them, did not test swatch filters and did not test search results. Products with two color-like options were not part of the test either, so the first-option rule above comes from the code alone.

Combined Listings – BrandUp

Separate products per color need card grouping, not this block

The "Swatches" block reads the variants of one product. If Black, White and Blue are three products, each gets its own card and the block has no variants to switch between. Combined Listings – BrandUp addresses that case: with the app's collection cards switched on, a group appears as one card with swatches on collection and search pages; choosing a swatch swaps the image, title and link on the card. The collection cards are an app embed for Online Store 2.0 themes and are part of every plan. The app was not tested in Horizon 4.5.0.

FAQ

Questions about Horizon card swatches

Combined Listings – BrandUp

Combined Listings – BrandUp links separate Shopify products into one group and shows the other products as swatches on the product page and on collection cards; each product keeps its own URL, photos, stock and SEO.

Install on Shopify

Sources

Sources

Tested on 2 Dec 2026 in one test store with one test product and Horizon 4.5.0. Documentation as of 2 Dec 2026. Other theme versions can behave differently.