Website Building » WooCommerce » How Do I Hide Out of Stock Variations in WooCommerce?

How Do I Hide Out of Stock Variations in WooCommerce?

Last updated on October 1, 2022 @ 9:16 pm

If you are running a WooCommerce store, you may have come across the issue of out of stock variations. When a product is out of stock, WooCommerce will still show the variation in the dropdown menu on the product page.

This can be confusing for customers, and may result in them selecting an out of stock variation and then wondering why they can’t add it to their cart. In this article, we will show you how to hide out of stock variations in WooCommerce.

When a product is out of stock, WooCommerce will still show the variation in the dropdown menu on the product page. This can be confusing for customers, and may result in them selecting an out of stock variation and then wondering why they can’t add it to their cart.

The first thing you need to do is install and activate the WooCommerce Hide Out of Stock Items plugin. Upon activation, you need to visit WooCommerce » Settings page to configure plugin settings.

On the Settings page, click on the Products tab at the top and then click on the Inventory link that appears below it. This will take you to the inventory settings page for WooCommerce.

On this page, scroll down to the “Out of Stock Visibility” option and select the “Hide Out of Stock Items from Catalog”. Once you are done, click on the “Save Changes” button to store your changes.

Now when a product is out of stock or if all its variations are out of stock, then it won’t appear on your shop or category pages. However, it will still be accessible via direct URL.

PRO TIP: If you are using WooCommerce to sell products that have variations, you may want to hide the variations that are out of stock. This can be done by going to the WooCommerce settings page and selecting the “Hide out of stock items from the catalog” option. However, if you have products that are regularly out of stock, this may not be the best option for you, as it could result in potential customers not seeing your products at all.

If you want to completely remove products that are out of stock from your WooCommerce store, then check our guide on how to hide out of stock products in WooCommerce.

That’s all we hope this article helped you learn how to hide out of stock variations in WooCommerce.

Hiding Out Of Stock Variations In WooCommerce


If you run a WooCommerce store sometimes you might come across an issue where customers can purchase products which are no longer available. If a product is unavailable or “out of stock”, WooCommerce by default still shows these items as an option for customers to purchase which can cause confusion.
In this article we’re going over how you can hide these “out of stock” items so they don’t show up as available options for customers anymore.
1) The first thing you’ll need to do is install and activate the plugin called “WooCommerce Hide Out Of Stock Items” – once that’s done head over to WooCommerce > Settings.
2) Click on “Products” at the top followed by “Inventory”.
3) Scroll down until find an option called “Out Of Stock Visibility”, select “Hide Out Of Stock Items From Catalog”.
4) Save changes.
5) That’s all – now when a product is unavailable or all its variations are sold out it won’t appear on your shop or category pages but will still be accessible via direct URL.

Hiding Out Of Stock Variations In WooCommerce Is Easy! Follow These Steps..

Kathy McFarland

Kathy McFarland

Devops woman in trade, tech explorer and problem navigator.