Guides

Horizon variant images: the hide switch lives in a block, and the template turns it on

Horizon theme variant images are controlled by "Hide unselected variant media" in the "Product media" block, and in our test of Horizon 4.5.0 it was already on. Picking Blue left the Blue front and all three back views in the gallery: images assigned to other colours disappear, images assigned to no colour stay. That follows Shopify's rule of one image per variant. Shopify describes no native setting for a set of images per colour; its help page points to the Combined Listings app on Plus and enterprise plans.

Last checked:

Our test

Grid on wide screens, dot carousel at 390 px, same images hidden

Variant images are stored on the product, not in the theme, so Horizon 4.5.0 received the same BrandUp Test Tee as our Dawn test: one front per colour assigned to Black, White and Blue, and three back views assigned to none. In the editor we opened the "Product media" block of the default product template and found the hide switch on. In the storefront preview we picked Blue, at that point with Horizon's swatches already switched on in the variant picker.

Which images remained was identical to Dawn: the Blue front plus blue-back, black-back and white-back. The presentation was not. In the 1440 px wide view Horizon laid the gallery out as a grid with two columns; in the 390 px wide view it became a carousel with dots. On the narrow layout the back views of the colours not picked sit in the same carousel as the Blue front. One store, one product, Horizon 4.5.0, 2 Dec 2026.

Step by step

Where the switch sits in the Horizon editor

Carried out in Horizon 4.5.0 on 2 Dec 2026. The variant images had been assigned on the product beforehand; the screenshots below show the block setting and the Blue selection in both widths.

  1. Open the product template

    "Online Store" > "Themes" > Horizon > "Edit theme" > "Default product".

  2. Open the media block, not the section

    "Template" > "Product information" > "Product media", group "Media", checkbox "Hide unselected variant media".

Horizon 4.5.0: editor product media 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: product swatches 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).
Horizon 4.5.0: product swatches blue, 390 px wide view, own test
Own test in the BrandUp test store, Horizon 4.5.0, 2 Dec 2026 (390 px wide view).

Documentation and test

The block schema says false, the shipped template says true

In Horizon's public code, the media gallery is a block of its own (blocks/_product-media-gallery.liquid), and its schema gives hide_variants the default false. The default product template, templates/product.json, places that block inside the product information section as a static block and stores "hide_variants": true on it. A value stored in a template overrides the schema default, so a freshly added Horizon starts with the switch on, as our editor showed. We read these files on Shopify/horizon main on 2 Dec 2026, where config/settings_schema.json names version 4.5.0; the Theme Store build could in principle differ, and the one we tested behaved like main.

The same template explains the layout we saw: it sets the gallery to a grid with two columns and dots as the mobile slideshow control. The snippet snippets/product-media-gallery-content.liquid decides what is hidden: images attached to a variant are collected, and with the switch on, attached images other than the selected variant's featured image are skipped, while unattached ones stay.

Shopify's help page on adding images to product variants sets the rule of one image per variant and suggests ordering related images next to each other in the product media, assigning one per variant and letting the shopper scroll. Our test did not contradict the help page; the theme part of the task is not described there.

Not tested

Untested: the switch off, and Horizon's variant images inside swatches

We did not switch "Hide unselected variant media" off. By the code, every image would then stay for every colour.

Horizon has a second, unrelated use of variant images. Its theme settings group "Swatches" contains a checkbox "Variant images" (default off in config/settings_schema.json), and the swatch snippet then draws a swatch from the variant's image, where the variant has one, instead of from the colour entry. We did not try it; it changes the swatch, not the gallery.

Not covered either: other Horizon versions, Shopify's Combined Listings app, and third-party apps or gallery code changes that group several images per colour on one product. Shopify does not document such grouping for Horizon, and this page makes no claim about it. For scale, Horizon runs on 760 of 10,119 shops in our sample (7.6 %, rank 2, 30 Oct to 30 Nov 2026).

Combined Listings – BrandUp

Linked products are one way to give each colour a gallery

A merchant who sells each colour as a separate product gets a separate gallery per colour and then has to reconnect the products on the storefront.

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. The switcher is an app block and the collection cards are an app embed for Online Store 2.0 themes; nothing is written to the theme files. It does not merge products or change Horizon's gallery for variants of one product, and it was not part of our Horizon test.

FAQ

Horizon variant image questions

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