Description
WooCommerce gives you one switch for sold-out products: hide all of them, or show all of them. That is fine for a small store, but it gets in the way when some out-of-stock products should stay visible (a best seller that is restocking next week, a seasonal item, a page that ranks well in Google) while others should disappear from the shop.
Hide or Show Out-of-Stock Products for WooCommerce lets you decide, product by product, where each out-of-stock product appears:
- Shop and search results – fully visible
- Shop only – listed in the shop, left out of search results
- Search results only – left out of the shop, still found by search
- Hidden – left out of both the shop and search results
Everything is managed from one screen under Products -> Out-of-Stock Visibility. The screen lists only your out-of-stock products, so you can review them, change one, or update dozens at once.
Key benefits
- Keep sold-out products that still earn traffic. Leave restocking, seasonal, or high-demand products visible instead of losing them from the catalog.
- Hide the ones that should not be there. Remove discontinued or low-priority sold-out products from the shop and search without touching your stock data.
- Stop guessing what customers can see. A built-in report shows how your out-of-stock products are currently exposed.
- Work fast on large catalogs. Search, filter, and bulk-update instead of editing products one at a time.
Features
- Per-product visibility for out-of-stock products: shop and search results, shop only, search results only, or hidden
- Bulk update: select several products and apply one visibility option to all of them
- Dedicated list of out-of-stock products, with product image, SKU, price, categories, current visibility, and an Update button for each row
- Search the list by product name or SKU
- Filter the list by visibility mode, by product category, and by how long a product has been out of stock (less than 7 days, 7+, 30+, 60+, or 90+ days)
- “Days Out of Stock” column showing how long each product has been continuously out of stock and the date it went out of stock; sort the list by it
- Reporting snapshot: total out-of-stock products, a count for each visibility mode, a category breakdown, and a “Needs review” list of sold-out products that are still visible to customers
- Summary cards and quick filters that jump straight to the matching products in the table
- Optional setting to restore normal visibility automatically when a product is back in stock
- Works with WooCommerce’s own catalog visibility settings, so there is no custom product template or shortcode to maintain
- Translation-ready
How it works
- Activate the plugin (WooCommerce must be active).
- Go to Products -> Out-of-Stock Visibility.
- Review the reporting snapshot, then use the table to set each out-of-stock product to the visibility you want, individually or in bulk.
When a product’s visibility is changed, the plugin applies it using WooCommerce’s standard product catalog visibility.
Good to know before you install
- The plugin turns off WooCommerce’s global “Hide out of stock items” setting while it is active. It saves your previous value when you activate the plugin and restores it when you deactivate it. (If you first activated the plugin on version 2.3.0 or earlier, no previous value was saved, so the setting stays off after you deactivate.) Per-product settings in this plugin replace that global switch, and if you or another plugin turn the WooCommerce setting back on while this plugin is active, it is turned off again on the next page load.
- Out-of-stock products with no saved choice are shown. If your store was hiding every sold-out product before you installed the plugin, those products will appear in the shop and search results after activation until you set them to Hidden. Open the Needs review list after activating and hide what you do not want customers to see.
- Hiding a product removes it from shop and search listings. It does not block the product page. Customers who already have a direct link can still open it.
- Restocking. The management screen lists only out-of-stock products, so a restocked product leaves the list. With the setting “Restore normal visibility when a product is back in stock” turned on, a product you set to Shop only, Search results only, or Hidden returns to Shop and search results when it is restocked. With the setting off, it keeps its choice (for example, stays Hidden) until you change its catalog visibility in the product editor. The setting is on by default for new installations. If you are updating from an earlier version, it is off until you turn it on, so nothing changes on your store unexpectedly.
- The plugin does not change stock quantities or stock status, and it does not replace WooCommerce inventory management.
- The management screen lists published products that WooCommerce marks as out of stock.
Who this plugin is for
- WooCommerce store owners who want to keep some sold-out products visible and hide others
- Stores with seasonal, limited-run, or frequently restocked products
- Stores that want to keep out-of-stock product pages in the catalog for search engine visibility
- Store managers who need to review and update out-of-stock products in bulk
- Agencies and developers who manage WooCommerce stores for clients
Practical examples
- A popular item sells out on Friday and returns on Wednesday. Keep it visible in the shop and search so customers can still find it.
- A seasonal product is out of stock until next year. Leave it findable in search but remove it from the main shop listing.
- A discontinued product has no replacement. Set it to Hidden.
- You inherited a large catalog. Filter by “90+ days” out of stock and bulk-hide everything that has been unavailable for a quarter.
Installation
- Upload the plugin files to the
/wp-content/plugins/out-of-stock-display-manager-for-woocommerce/directory, or install the plugin through the WordPress plugins screen. - Activate the plugin through the Plugins screen in WordPress.
- Make sure WooCommerce is installed and activated.
- Go to Products -> Out-of-Stock Visibility.
- Review the reporting snapshot and configure how your out-of-stock products should appear.
FAQ
Does this plugin require WooCommerce?
Yes. WooCommerce must be installed and activated for this plugin to work.
How do I hide out-of-stock products in WooCommerce but keep some of them visible?
WooCommerce’s built-in “Hide out of stock items” setting applies to every product. With this plugin active, go to Products -> Out-of-Stock Visibility and choose a visibility option for each out-of-stock product. Products you set to “Shop and search results” stay visible; products you set to “Hidden” are removed from the shop and search results.
Where do I find the plugin’s settings?
Under Products -> Out-of-Stock Visibility in the WordPress admin. Access requires the WooCommerce “manage_woocommerce” capability.
What are the four visibility options?
- Shop and search results: the product appears in the shop and in search.
- Shop only: the product appears in the shop but not in search results.
- Search results only: the product appears in search results but not in the shop.
- Hidden: the product appears in neither.
Does the plugin change the WooCommerce “Hide out of stock items” setting?
Yes. While the plugin is active it keeps that setting turned off, because your per-product choices replace it; if it is turned on again it is switched back off on the next page load. The previous value is saved when you activate the plugin and restored when you deactivate it. If you first activated the plugin on version 2.3.0 or earlier, no previous value was saved, and the setting stays off after deactivation; you can turn it back on under WooCommerce -> Settings -> Products -> Inventory.
I was hiding all out-of-stock products before. What happens when I activate the plugin?
Out-of-stock products without a saved choice in this plugin are shown. After activating, open Products -> Out-of-Stock Visibility and set the products you want hidden, for example by selecting them and using the bulk action.
What happens to out-of-stock products I do nothing with?
They stay visible in the shop and in search results, unless they already carry a WooCommerce catalog visibility setting that hides them.
Can I still open a hidden product by its URL?
Yes. Hidden products are removed from shop and search listings, but the plugin does not block or redirect the product page itself.
Does this plugin affect in-stock products?
Only when a product you managed is restocked. You set visibility for products while they are out of stock, and in-stock products you have never set are not touched. If you restock a product that you set to Hidden, Shop only, or Search results only, what happens depends on the setting “Restore normal visibility when a product is back in stock”: when it is on, the product returns to Shop and search results; when it is off, it keeps its setting. See “What happens when a hidden product is restocked?” below.
Does this plugin change product stock levels?
No. It does not change stock quantities or stock status and does not replace WooCommerce inventory management. It only controls how out-of-stock products appear to customers.
Can I update many products at once?
Yes. Tick the checkboxes next to the products, choose a visibility option under Bulk actions, and click “Apply to selected products”.
Can I find out-of-stock products by SKU?
Yes. The search box on the management screen matches product name or SKU.
Can I see how long a product has been out of stock?
Yes. The “Days Out of Stock” column shows how long each product has been continuously out of stock and the date it went out of stock. You can filter the list by duration and sort by it. For products that were already out of stock when the plugin was updated to a version with this feature, the count starts from that update, because WooCommerce does not record when a product originally sold out.
Does the plugin include reporting?
Yes. The reporting snapshot at the top of the screen shows the total number of out-of-stock products, how many are in each visibility mode, a category breakdown, and a “Needs review” list of sold-out products that are still visible to customers.
What happens when a hidden product is restocked?
It depends on the setting Restore normal visibility when a product is back in stock, which you can change at the top of Products -> Out-of-Stock Visibility.
- Setting on (the default for new installations): when the product’s stock status changes from out of stock to in stock, it goes back to Shop and search results. This only applies to products you set to Shop only, Search results only, or Hidden with this plugin. A product you hid yourself in WooCommerce, or whose catalog visibility you changed after setting it here, is not changed. If you change the catalog visibility in the same save that restocks a product, your choice is kept. Any way of restocking counts: the product editor, Quick Edit, bulk edit, the WooCommerce REST API, WP-CLI, or a stock quantity change. Saving the product editor with its Catalog visibility field left as it was does not keep the product hidden; to keep it hidden, turn the setting off, or choose a different visibility in the same save.
- Setting off (the default when updating from an earlier version): the product keeps its choice. A product set to Hidden stays out of shop and search listings after it is back in stock. A product set to Shop only stays out of search results, and one set to Search results only stays out of the shop. To show it again, open it with Edit or Quick Edit, change its catalog visibility to “Shop and search results”, and update the product.
The setting only acts at the moment of restocking. It does not change products that were already restocked before you turned it on.
Why is the restore setting off after I updated?
Earlier versions kept a product’s choice after a restock, so updating does not change that on its own. Turn the setting on at the top of Products -> Out-of-Stock Visibility if you want restocked products to go back to normal visibility automatically.
Does this plugin move out-of-stock products to the end of the shop page?
No. It does not change product sort order. It only controls whether an out-of-stock product appears in the shop and in search results.
Does it work with variable products?
The plugin works at the product level, using the stock status WooCommerce stores for the product. Visibility is set for the product as a whole, not for individual variations. Restoring visibility on restock has been tested with simple and variable products. Other product types, such as grouped, external, or subscription products, have not been tested.
Why would I keep an out-of-stock product visible?
Common reasons are search engine visibility, customers who want to bookmark or compare a product, seasonal demand, and products that are about to be restocked.
Is this plugin beginner-friendly?
Yes. Everything is managed from one admin screen without code.
Screenshots




Changelog
2.4.0
- Added the setting “Restore normal visibility when a product is back in stock” on the Out-of-Stock Visibility screen. When it is on, a product you set to Shop only, Search results only, or Hidden returns to Shop and search results when it is restocked. It is on for new installations and off for existing ones until you turn it on
- Restoring only affects products you managed with this plugin and whose catalog visibility has not been changed since; products hidden by hand in WooCommerce and visibility chosen in the same save as a restock are left alone
- Fixed restoring visibility when a product is restocked from the product editor or Quick Edit, which always send the current visibility with the save
- When a product’s visibility is changed in the same save that restocks it, the plugin’s own saved choice now follows the new visibility, so the management screen and search stay consistent
- Clarified the wording about restoring WooCommerce’s “Hide out of stock items” setting in the activation notice, the guide notice and the help tabs: the value saved when the plugin was activated is put back on deactivation, and sites that first activated a version older than 2.3.1 have no saved value
- Added a dismissible “How this screen works” notice and contextual help tabs that explain the four visibility modes, restocking, and how the plugin works with WooCommerce’s “Hide out of stock items” setting
- Corrected the activation notice so it names the real menu item and links to the screen
- Replaced the older global-setting notice on the Out-of-Stock Visibility screen with a clearer explanation
- Fixed the Out-of-Stock Visibility screen on narrow screens: the report tables are no longer cut off, and the product table now shows every column, including the visibility selector and Update button, as labelled rows on phones and small tablets
2.3.1
- Fixed search visibility for out-of-stock products that use WooCommerce visibility terms without a saved plugin setting
- Check per-product edit permissions during visibility updates
- Restore WooCommerce’s previous global out-of-stock setting when the plugin is deactivated
- Avoid writing the global visibility option when it is already disabled
- Align out-of-stock age filters with the site’s calendar-day display
2.3.0
- Bumped the plugin version to 2.3.0
- Redesigned the Out of Stock Visibility Manager dashboard with a cleaner, flat visual style
- Refined summary cards, category breakdown, and needs-review panels for better readability
- Tightened spacing, borders, and typography throughout the admin screen
- Added an “Out of Stock For” duration filter to the dashboard so you can quickly find products that have been out of stock for a specific length of time
- Added a “Days Out of Stock” column to the product table, showing how long each product has been continuously out of stock and the date it went out of stock, so you can spot long-standing out-of-stock items at a glance
- Fixed the dashboard search box so it correctly matches out-of-stock products by SKU, not just by product name
2.2.1
- Changed the successful product-visibility update notification to green for clearer confirmation feedback
- Added distinct error notification styling when a visibility update cannot be completed
- Bumped the plugin version to 2.2.1
2.2.0
- Tested and updated compatibility metadata for WordPress 7.0.1
- Bumped the plugin version to 2.2.0
- Switched product visibility term lookups to WooCommerce’s current helper with a safe fallback
- Cleaned up admin screen markup to avoid invalid form nesting in newer WordPress admin output
- Updated pagination labels to use translated WordPress-friendly text
- Corrected readme copy, plugin path examples, and release notes
2.1.0
- Added a reporting snapshot above the visibility manager table
- Added summary cards for out-of-stock visibility modes
- Added a category breakdown to highlight where sold-out products are concentrated
- Added a needs-review list for out-of-stock products that are still visible to customers
- Added quick filters so users can jump from the report to matching products faster
- Updated compatibility for the latest WordPress version
- Improved WooCommerce dependency handling for more reliable plugin loading
- Improved admin screen compatibility and cleaned up outdated display text
- Updated product thumbnail handling in the visibility manager screen
- Improved visibility option detection so product settings are shown more accurately
2.0.4
- Minor adjustment on search behavior
2.0.3
- Improved plugin behavior and compatibility
- General maintenance and fixes
2.0.2
- Minor fixes and improvements
2.0.1
- Minor fixes and improvements
2.0.0
- Major plugin update
- Improved control over out-of-stock product visibility
