There are times when you need to hide product variants on Shopify without removing them entirely. Maybe a seasonal color is out of rotation, a size is back-ordered for months, or you’re testing which options sell best. Whatever the reason, deleting the variant means losing its sales history, SEO value, and the ability to bring it back later.

Shopify doesn’t have a built-in “hide this variant” toggle, but there are several workarounds that get the job done. Below are four methods - pick the one that fits your situation.

Key Takeaways
1
Set a variant’s inventory to 0 and uncheck “Continue selling when out of stock” to hide it from customers.
2
Use the draft product trick: duplicate the product, move hidden variants to the draft copy, and keep the live listing clean.
3
Add Liquid template code to your theme to conditionally hide variants based on inventory, tags, or metafields.
4
Install a third-party variant manager app if you need bulk control across many products.

Method 1: Set Inventory to Zero

This is the quickest way to hide out of stock variants on Shopify. When a variant has zero inventory and the “Continue selling when out of stock” checkbox is off, Shopify marks it as unavailable. Customers can still see the option name (greyed out), but they can’t add it to their cart.

How to Do It

Log into your Shopify admin and go to Products. Open the product that has the variant you want to hide. Scroll down to the Variants section and click the variant you want to change.

In the variant detail screen, look for the Inventory section. Make sure “Track quantity” is checked. Then set the Available quantity to 0. Finally, make sure “Continue selling when out of stock” is unchecked.

Save the product. That variant will now show as “Sold out” or be hidden entirely depending on your theme’s settings.

When to Use This

This method works well when you want to hide sold out variants temporarily - say a size or color that’s coming back in a few weeks. The downside is that some themes still display the variant name with a strikethrough or “Sold out” label rather than hiding it completely. Check your storefront after making the change.

Method 2: Move Variants to a Draft Product

If you want variants completely invisible (not even greyed out), you can move them to a duplicate product set to Draft status.

How to Do It

Go to Products in your Shopify admin. Open the product and click Duplicate. On the duplicate, delete the variants you want to keep visible - leave only the ones you want to hide. Set the duplicate’s status to Draft.

Then go back to the original product and delete the variants you just moved to the draft. The original product now only shows the variants you want customers to see, and the hidden variants sit safely in the draft product with all their data intact.

When to Use This

This works when you need variants to be completely gone from the storefront - no “Sold out” labels, no greyed-out options. It takes a bit more effort to set up, and you’ll need to remember to merge them back when you’re ready to show them again. Best for seasonal products or discontinued-but-might-return variants.

Method 3: Use Liquid Template Code

If you’re comfortable editing your Shopify theme code (or your developer is), you can add conditional logic to your product template that hides specific variants based on inventory level, a tag, or a metafield value.

How It Works

Go to Online Store → Themes → Edit Code in your Shopify admin. Find your product template file (often main-product.liquid or product-form.liquid depending on your theme). In the variant loop, add a condition that skips variants you want hidden.

For example, you could tag hidden variants with a metafield value like “hidden” and then wrap the variant option in an unless block that checks for that value. The variant stays in your Shopify catalog with full data, but customers never see it on the storefront.

When to Use This

This gives you the most control. You can hide variants based on any criteria - inventory thresholds, customer tags, dates, or custom metafield flags. The trade-off is that it requires some knowledge of Shopify’s Liquid language, and theme updates may overwrite your changes if you don’t use a child theme or keep notes on your customizations.

Method 4: Use a Third-Party App

Several Shopify apps are built specifically for variant management. These let you hide, show, and schedule variant visibility without touching any code or juggling draft products.

How to Do It

Search the Shopify App Store for variant management apps. Look for features like bulk variant hiding, scheduling (auto-hide and auto-show on specific dates), and customer-group-based visibility. Install the app, connect it to your store, and use its dashboard to select which variants to hide.

When to Use This

Apps are the best option when you need to hide variants in bulk across many products, want to schedule seasonal availability changes, or need to show different variants to different customer groups (wholesale vs. retail, for example). Most apps charge a monthly fee, but the time savings and reduced error risk often make it worth the cost for stores with large catalogs.

Which Method Should You Pick?

Here’s a quick comparison to help you decide:

  • Inventory to zero - Fastest setup, but the variant may still show as “Sold out” on some themes.
  • Draft product trick - Completely hides the variant, but takes more manual effort to manage.
  • Liquid template code - Most flexible and precise, but requires coding knowledge.
  • Third-party app - Best for bulk management and scheduling, but has ongoing costs.

For most store owners hiding one or two variants temporarily, Method 1 (inventory to zero) is enough. If you have a large product catalog with frequent seasonal changes, an app (Method 4) will save you hours of manual work.