How to hide variants in Shopify (out of stock, options, and images)

When people ask how to hide variants in Shopify, they almost never mean the same thing. Four different problems hide behind that one phrase. Some folks want to hide sold-out sizes so shoppers stop clicking dead ends. Some want one specific combination gone (say, Red / XL) without nuking the whole option set. Some want the variant picker to disappear entirely because the product only comes one way. And some want the product gallery to stop showing every single variant’s photo at once. Same words, wildly different fixes.
We build Shopify apps for a living, so we see this confusion constantly. A merchant flips one theme toggle expecting all four outcomes, then wonders why nothing changed. So before you touch anything, figure out which of the four you actually want. This guide walks each one, with the tradeoffs nobody warns you about.
Quick reality check first. Shopify treats a variant as a real, purchasable thing with its own SKU, price, inventory, and (sometimes) image. You can suppress how a variant appears. You can make it unbuyable. But you cannot always erase a single combination cleanly without rethinking the options behind it. That distinction trips up almost everyone.
In this post
- Which “hide” do you actually mean?
- Hide out-of-stock variants
- Hide a specific variant or option value
- Hide the variant selector entirely
- Hide OTHER variants’ images (the real pain)
- FAQ
- Related reading
Which “hide” do you actually mean?
Four buckets. Pick yours, then jump to that section. Here they are as a plain inline list: hide sold-out combinations, hide one specific option value, hide the picker on single-option products, or hide the extra gallery images that belong to variants nobody selected. Each one lives in a different part of Shopify, and mixing them up is why the first fix people try usually flops.
| What you want to hide | How to do it | Where it lives |
|---|---|---|
| Sold-out sizes/colors | Theme setting, or set inventory to 0 and turn off “continue selling” | Theme editor + product inventory |
| One specific combination (Red / XL) | Restructure options, unpublish, or mark it unavailable | Product page options + inventory |
| The variant picker itself | Single-variant product, or a theme/template edit | Product setup or theme code |
| Other variants’ images in the gallery | A variant image app that filters the gallery | App layer (Shopify shows all by default) |
Hide out-of-stock variants
This is the most common request, and the good news is many themes handle it natively. To hide out-of-stock variants in Shopify, most modern Online Store 2.0 themes ship with a toggle that either hides or visibly disables sold-out option values. Look for it, don’t code it.
Where to check: open your theme editor, go to a product template, and click into the variant picker block (sometimes labeled “Variant picker” or “Product information”). Dawn and most Dawn-based themes include an option like “Hide sold-out variants” or a picker style that greys them out. Toggle it, save, preview on a product that has a sold-out size. Done.
But here’s a strong opinion: hiding sold-out variants completely is often the wrong call. Greying them out (still visible, not clickable) usually beats hiding them. Why? Because a shopper who wanted Medium and sees it crossed out learns something. A shopper who sees Medium simply missing assumes you never carried it, and bounces. Absence reads as “not for me.” A disabled state reads as “back soon.” Small difference, real conversion impact.
If your theme has no such setting, the manual route is inventory-based. Set the variant’s inventory to zero and make sure “Continue selling when out of stock” is unchecked in the product editor. That makes the variant unbuyable. It won’t remove the button, but combined with a theme that respects stock, it stops orders on empty variants. For catalogs where variant counts balloon fast, it’s worth understanding the platform ceilings too; our Shopify variant limit guide covers how many variants a single product can hold before you hit a wall.
Hide a specific variant or option value
This one is genuinely thorny. Say you sell a shirt in Red, Blue, and Green, each in S, M, L. That’s nine combinations. You want to hide just Red / XL, or maybe kill the entire “XL” value for one color only. Shopify’s option model doesn’t love that.
Here’s the core constraint: Shopify options are a grid. If “XL” exists as a Size value, it tends to exist for every Color. You cannot cleanly delete a single cell (Red / XL) and keep the rest of the grid intact through the normal options editor, because the app assumes a rectangular matrix. So what are your actual moves?
- Delete the specific variant row. On the product page, open the variants list and delete the exact combination you don’t want. Shopify allows deleting individual variant rows even inside a grid. The option value stays for others; only that row goes.
- Set it unavailable via inventory. Zero stock plus “continue selling” off makes it unbuyable without deleting it, which is handy if it’s a seasonal combination you’ll bring back.
- Restructure the options. If a whole value (like a discontinued color) needs to go, remove that option value entirely. Every variant tied to it disappears. Cleaner, but more surgical, so back up your data first.
- Unpublish the whole product if the “variant” you’re hiding is really a different product wearing a variant costume. More on that in a second.
Now, a pattern we see over and over: merchants stuff separate products into variants when they shouldn’t. If your “Red shirt” and “Blue shirt” are really distinct products with different photography, descriptions, and stock cycles, forcing them into one product’s variant grid creates exactly the “how do I hide one” headache. The cleaner model is to keep them as separate products and link them visually. That’s a different tool entirely, and it’s worth reading how Shopify combined listings work before you commit to one giant variant grid. Sometimes the fix for “hide this variant” is “these were never one product.”
Doing this across hundreds of SKUs by hand? Painful. If you’re bulk-adjusting prices or clearing out combinations at scale, our free bulk price editor and variant calculator save a lot of clicking. The calculator alone tells you how many variants a given option matrix produces, which is oddly clarifying when you’re deciding what to cut.
Hide the variant selector entirely
Sometimes you don’t want to hide one variant. You want the whole picker gone. Maybe the product only comes one way and Shopify is showing a pointless dropdown, or a lonely “Default Title” button.
The cleanest path: make it a true single-variant product. If a product has no options (no Size, no Color, nothing), Shopify creates one default variant and most themes render no picker at all. So if you’re seeing a selector on a one-version product, check whether you accidentally added an option with a single value. Remove that option and the picker vanishes on its own. No code.
What about hiding the picker while keeping multiple real variants? That gets risky. You’d be editing the theme to suppress the selector, which means shoppers can’t choose, which means they all buy whatever variant is default. Only do this in narrow cases (a “surprise me” bundle, a made-to-order item where you pick for them). And know the tradeoff: if the picker is hidden but variants still exist, you’re hiding a choice people might actually need. We’d push back on this one nine times out of ten. If the goal is “this product is simpler,” fix the data, not the display.
One more angle. If the picker feels cluttered because you have twelve colors, the answer usually isn’t hiding it, it’s presenting it better with swatches instead of a dropdown. That’s a design problem, not a hide problem.
Hide OTHER variants’ images (the real pain)
This is the one that quietly drives merchants up the wall, and it’s the truest meaning of “hide variants in Shopify” for a lot of people. Here’s the problem: by default, the product gallery shows every image on the product, no matter which variant is selected. Pick the Red shirt and you still scroll past Blue, Green, and Black photos. Shopify natively assigns one featured image per variant, but it does not filter the gallery down to only that variant’s media.
So a shopper on a 12-color product sees a wall of 40 images, only 3 of which match what they picked. That’s confusing on desktop and genuinely rough on mobile, where every extra swipe costs attention. Why does Shopify default to showing all of them? Honestly, it makes no sense to us either. It’s one of the oldest gaps in the platform.
Native Shopify gives you exactly one lever: the single featured image per variant. Want the full gallery to filter, so selecting Red shows only Red’s photos and hides the rest? That’s not a theme toggle. It’s a job for a variant image app. This is our home turf (we build one), so here’s the honest version: filtering the gallery to show only the selected variant’s images means assigning multiple images (plus videos and 3D models) per variant and hiding everything else on selection. Rubik Variant Images does exactly that, on the product page, without slowing the store down (it’s metafield-based, no external API calls).
If you want the deeper mechanics of assigning several photos to a single variant, we wrote the long version in our multiple images per variant guide and the full variant images complete guide. And if you’re comparing tools, the best Shopify apps for variant images lays out the options side by side. The short version: native gets you one image per variant; hiding the rest of the gallery needs an app.
While you’re auditing images, make sure the ones you keep are pulling their weight. Our product images best practices post covers what actually converts, because hiding the wrong images only helps if the right ones are strong. The gallery is where the buying decision happens. Hide the noise, keep the signal.
FAQ
How do I hide out-of-stock variants in Shopify?
Most Online Store 2.0 themes include a variant picker setting to hide or grey out sold-out values. Open the theme editor, click the variant picker block on a product template, and toggle it. If your theme lacks the setting, set the variant’s inventory to zero and turn off “continue selling.”
Can I hide just one variant combination like Red / XL?
Yes. Open the product’s variant list and delete that exact row; the option value stays for other combinations. If you want to keep it for later, set its inventory to zero with “continue selling” off so it shows as unavailable instead of being removed entirely from the store.
How do I hide the variant selector on a product?
Remove all options from the product so it becomes a single-variant product; most themes then render no picker. If you added an option with only one value, deleting that option makes the selector disappear. Avoid hiding the picker while keeping multiple real variants, since shoppers lose the ability to choose.
Why does Shopify show every variant’s image in the gallery?
Native Shopify assigns one featured image per variant but does not filter the full gallery by selection, so all product images stay visible no matter which variant a shopper picks. To show only the chosen variant’s photos and hide the rest, you need a variant image app that filters the gallery on the product page.
Should I hide sold-out variants or just grey them out?
Greying them out usually converts better. A disabled, still-visible value tells shoppers the size existed and may return, which sets up back-in-stock interest. Hiding it entirely can read as “never carried,” causing bounces. Test both on your catalog, but default to visible-and-disabled for popular sizes.
Is hiding a variant the same as deleting it?
No. Hiding suppresses how a variant appears or whether it can be bought, while deleting removes the variant row and its SKU permanently. If a combination might return, make it unavailable via inventory instead of deleting, so you keep its history and settings intact for later.