/
/
Variable products + variant galleries done right

Variable products + variant galleries done right

7 min read

A customer picks navy and the gallery still shows red. Baymard found 54% of sites do not match images to the selected variant. The fix.

A customer picks “navy” from your colour options, and the gallery still shows the red one. It is a small thing and a trust-breaking thing at once: the shopper just told you what they want, and the page is showing them something else. Baymard Institute found that more than half of e-commerce sites — around 54% — fail to update the product images to match the selected variation. That is a majority of stores leaking trust at the exact moment a shopper is configuring their purchase, and on WooCommerce specifically it is a common gap because the native variation system does not switch the full gallery per variant on its own. This is how to do variant galleries right.

It builds on the complete guide to WooCommerce product galleries, focusing on the variable-product case.

The variant problem, precisely

The failure has two parts, and it helps to separate them. The first is the image mismatch: the shopper selects navy, the gallery keeps showing red, and now they are uncertain whether the navy is what they think — does it have the same cut, the same detail? The uncertainty is exactly the kind zoom and good images are meant to resolve, reintroduced by a configuration mismatch. The second is the silent failure: there is no error, nothing tells the shopper (or you) it is broken — the page just quietly shows the wrong thing, so you may never know you are losing these shoppers. Together they make variant mismatch one of the most damaging-yet-invisible product-page faults, which is why a majority of sites have it: nobody is alerted to fix it.

What WooCommerce native variations do and don’t do

WooCommerce’s variable products are powerful for managing options, stock, and pricing per variation — that part works well. What the native system does not do out of the box is switch the entire product gallery to the selected variant’s image set. It can set a single featured image per variation (so the main image may change), but the rest of the gallery — the angles, the close-ups, the lifestyle shots — typically stays as the parent product’s images. So a shopper selecting navy might see a navy hero but red close-ups, which is arguably more confusing than no switching at all. Closing this gap is what variant-gallery plugins and purpose-built product galleries do, and it is the core technical task of this article.

Swatches over dropdowns

Before the image switching, the selector itself matters. The default WooCommerce variation selector is a dropdown, and visual variants (colours, patterns, materials) are served far better by swatches — small visual chips the shopper clicks — than by a text dropdown. The reasons are concrete: swatches show the options at a glance (the shopper sees there are five colours without opening a menu), they are faster to use (one tap vs open-scroll-select), and they are far better on mobile where dropdowns are fiddly. For colour and visual attributes, swatches are the clear best practice; reserve dropdowns for non-visual options like size where a label is all that is needed. Pairing visual swatches with proper image switching is the combination that makes a variable product feel considered.

Do this now. Open a variable product on your store and select each variant in turn. Watch the gallery: does the whole gallery switch to that variant’s images, or just the main image (or nothing)? Then check the selector — is it a dropdown for colours, when swatches would serve better? You will likely find the gallery does not fully switch, which puts you in the 54% Baymard flagged. That is your fix: full per-variant gallery switching, with visual swatches for visual attributes.

Per-variant gallery switching: the patterns

Doing it right means each variant has its own image set, and selecting the variant swaps the whole gallery to that set. The practical approaches: assign a gallery of images per variation (the most thorough — navy gets its own hero, angles, and close-ups), or at minimum ensure the key differentiating images switch. The important detail beyond the visible swap is what happens in the markup, which leads to the SEO point below. The shopper experience to aim for: pick navy, and the entire gallery becomes the navy product — same thoroughness, correct colour — so the inspection they do is of the thing they are actually buying.

The SEO angle: variant images in the markup

One technical point that is easy to miss and worth getting right: if variant images only appear via JavaScript after the shopper clicks a swatch, search engines may never see them — a crawler does not click swatches. So variant images that exist only in a script-driven swap can be invisible to Google Images, costing you the image-search visibility for “navy linen suit” that a shopper might search. The robust approach keeps the variant images in the server-rendered markup (even if hidden until selected) so crawlers can index them, not purely injected on interaction. This connects to image SEO for WooCommerce product pages — the variant images are not just a conversion feature but a search surface, and they need to exist for the crawler, not only for the clicking shopper.

Size guides and reducing returns

Variants are also where returns are won or lost, particularly for size. The variant gallery should pair with clear size and fit information at the point of selection — a size guide accessible right there, scale shots in the variant’s image set, fit notes. The logic is that uncertainty about size at purchase becomes a return after delivery, and returns are expensive (shipping both ways, restocking, the lost sale). Resolving size uncertainty in the variant experience — good scale images, an inline size guide, honest fit notes — pays back directly in fewer returns. A well-built variant gallery is as much a returns-reduction tool as a conversion one.

All of this — full per-variant gallery switching, visual swatches, markup that search engines can index — is more than the default WooCommerce setup delivers, which is the practical case for a product gallery built for variable products. FotoGrids’ product-gallery layout (Pro Plus) includes inline variant swatches that switch the gallery images, so selecting navy shows the navy product across the whole gallery, closing the exact gap Baymard found in the majority of stores.

Key takeaways

  • ~54% of sites don’t switch images to the selected variant (Baymard) — a silent trust break.
  • WooCommerce native variations don’t switch the full gallery per variant on their own.
  • Use visual swatches for visual attributes; keep variant images in the markup so search engines see them.
  • A good variant gallery reduces returns by resolving size and fit uncertainty before purchase.

Why doesn’t my WooCommerce gallery change when I pick a variant?

Because WooCommerce’s native variations do not switch the full gallery per variant on their own — they can set a single featured image per variation at most, leaving the rest of the gallery as the parent product’s images. Baymard found around 54% of sites fail to match images to the selected variant. Closing the gap needs a variant-gallery plugin or a purpose-built product gallery.

Should I use swatches or dropdowns for product variations?

Swatches for visual attributes (colour, pattern, material) — they show options at a glance, are faster to use, and work far better on mobile than dropdowns. Reserve dropdowns for non-visual options like size where a text label suffices. Pairing visual swatches with full per-variant image switching makes a variable product feel considered.

Do variant images affect SEO?

They can. If variant images only load via JavaScript after a swatch click, search engines may never see them, since crawlers do not click swatches — costing you image-search visibility. Keep variant images in the server-rendered markup (even if hidden until selected) so they are indexable, not purely injected on interaction.

How do variant galleries reduce returns?

By resolving uncertainty before purchase, especially about size. Pairing the variant gallery with clear scale shots, an inline size guide, and fit notes means the shopper buys with confidence rather than guessing — and size uncertainty at purchase is what becomes an expensive return after delivery. A good variant experience is a returns-reduction tool as much as a conversion one.

FotoGrids · Pro Plus

A product gallery built to convert.

A dedicated product-gallery layout for shop pages — variant swatches inline, zoom-on-hover, and quick-add CTAs — replacing the default WooCommerce gallery.

  • Variant swatches that switch the gallery images.
  • Zoom-on-hover, no lightbox required.
  • Quick-add CTA on hover.

In this article

Share the article
Related Articles