| 开发者 |
charliemac24
Charlie Macaraeg |
|---|---|
| 更新时间 | 2026年11月4日 22:58 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv3 |
| 版权网址: | 版权信息 |
/wp-content/plugins/out-of-stock-display-manager-for-woocommerce/ directory, or install the plugin through the WordPress plugins screen.Yes. WooCommerce must be installed and activated for this plugin to work.
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.
Under Products -> Out-of-Stock Visibility in the WordPress admin. Access requires the WooCommerce "manage_woocommerce" capability.
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.
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.
They stay visible in the shop and in search results, unless they already carry a WooCommerce catalog visibility setting that hides them.
Yes. Hidden products are removed from shop and search listings, but the plugin does not block or redirect the product page itself.
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.
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.
Yes. Tick the checkboxes next to the products, choose a visibility option under Bulk actions, and click "Apply to selected products".
Yes. The search box on the management screen matches product name or SKU.
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.
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.
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.
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.
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.
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.
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.
Yes. Everything is managed from one admin screen without code.