Title: Discontinued Product Stock Status for WooCommerce
Author: SaffireTech
Published: <strong>July 8, 2022</strong>
Last modified: September 17, 2026

---

Search plugins

![](https://ps.w.org/discontinued-product-stock-status-woocommerce/assets/banner-
772x250.jpg?rev=2789246)

![](https://ps.w.org/discontinued-product-stock-status-woocommerce/assets/icon-256x256.
png?rev=2753800)

# Discontinued Product Stock Status for WooCommerce

 By [SaffireTech](https://profiles.wordpress.org/saffiretech/)

[Download](https://downloads.wordpress.org/plugin/discontinued-product-stock-status-woocommerce.1.7.2.zip)

 * [Details](https://pcm.wordpress.org/plugins/discontinued-product-stock-status-woocommerce/#description)
 * [Reviews](https://pcm.wordpress.org/plugins/discontinued-product-stock-status-woocommerce/#reviews)
 *  [Installation](https://pcm.wordpress.org/plugins/discontinued-product-stock-status-woocommerce/#installation)
 * [Development](https://pcm.wordpress.org/plugins/discontinued-product-stock-status-woocommerce/#developers)

 [Support](https://wordpress.org/support/plugin/discontinued-product-stock-status-woocommerce/)

## Description

Discontinued Product Stock Status for WooCommerce allows you to list a product as‘**
Discontinued**’ in your **WooCommerce catalog, optionally write a custom message
to guide your buyers to newer or other products** and thus helping you recover lost
sales and SEO traffic in the process.

Usually a store owner only uses 2 Stock status in WooCommerce – ‘**In Stock**’ and‘**
Out of Stock**’. So, they tend to put a product in ‘Out of Stock’ status even when
the product is actually discontinued or will no longer be available in future or
they would just delete the product page.

However, either of these actions are a loss-loss for store owners and buyers. When
a product is ‘out of stock’ the buyer assumes that product will be back in stock
in some time when in reality the product has been discontinued and will never be
available for purchase in future. Similarly, if a store owner deletes the product
page then all the SEO traffic that product page was getting is lost as the product
page no longer exists. Either way, it ends up in lost revenue for the store owner.

So, to solve this problem this plugin adds a custom stock status ‘**Discontinued**’
so that **store owners no longer have to use ‘Out of Stock’ status for discontinued
products and allows them to correctly inform and guide the buyers easily**.

 * Supports all default WooCommerce product types – **Simple**, **Variation** & **
   Grouped**.
 * Allows store owners to **set a Global message for Discontinued products**.
 * Allows store owners to **set product specific messages after setting discontinued
   stock status**.
 * Allows you to **mark a simple / variable product as discontinued in advance**,
   so after the stock quantity of an ‘instock’ product reaches zero, the product
   is automatically shown as discontinued. This is **very useful for products that
   have reached end-of-life (EOL products)**. Thus preventing buyers from buying
   something that is not going to be available in future.
 * Allows store owners to **set Variation-level specific messages for discontinued
   variations** of a variable product.
 * Store owners can also **set a generic message on a Product level for variations&
   Grouped products**.

With [Discontinued Stock Status Pro for WooCommerce](https://www.saffiretech.com/woocommerce-discontinued-products-stock-status-pro/?utm_source=wp_plugin&utm_medium=listing&utm_campaign=free2pro&utm_id=c1&utm_term=upgrade_now&utm_content=dpssw),
you can unlock the following features:

 * Store owners now have the ability to **display a grid of Alternative Products**
   on the Discontinued Product Page itself. This allows users to **conveniently 
   explore other similar options directly on the page**, providing a helpful way
   to discover alternatives for the discontinued item and **recover potential sales**.
 * Options to **customize Global Discontinued Message** – **WYSIWYG Editor for Message**,**
   Background Color**, **Font Color**, **Borders** etc.
 * **Discontinued Products Export Settings** – If you’re migrating your products
   to another site, then you can now also export all the messages and settings of
   your Discontinued Products and import them in your new site so that all your 
   product settings are retained.
 * **Compatibility with WooCommerce Subscriptions and WooCommerce Product Bundles**–
   The PRO version supports additional product types of simple subscription, variable
   subscription and product bundle.

**Recover Lost Sales**
 Now no longer lose sales because of a miscommunication with
buyers. Show them the correct status for the discontinued products, guide them and
convert them.

**Don’t lose SEO Traffic**
 You have put a ton of money and effort into upping your
SEO game and removing a product page is shooting yourself in the foot. Now with 
this plugin, you can show correct status for the discontinued products and avoid
losing the SEO traffic

Recommended Plugins:

 * [Bulk Edit Upsells and Cross-Sells for WooCommerce](https://wordpress.org/plugins/bulk-edit-upsells-and-cross-sells-for-woocommerce/)
 * [Dynamic Cart Messages for WooCommerce](https://wordpress.org/plugins/dynamic-cart-messages-woocommerce/)

**HIRE THE EXPERTS**

Need a tailor-made solution for WooCommerce that solves complex business problems?
Our team of experienced developers have helped many businesses like yours to accomplish
these goals. Hire us as your [WooCommerce Developers](https://www.saffiretech.com/custom-woocommerce-development/?utm_source=wp_plugin&utm_medium=listing&utm_campaign=free2pro&utm_id=c1&utm_term=upgrade_now&utm_content=dpssw)
today!

Keep up to date with us by [subscribing to the newsletter](https://www.saffiretech.com/blog/?utm_source=wp_plugin&utm_medium=listing&utm_campaign=free2pro&utm_id=c1&utm_term=upgrade_now&utm_content=dpssw),
[following us on Twitter](https://twitter.com/saffiretech) and [liking us on Facebook](https://www.facebook.com/saffiretech).

If you enjoy using the software [we’d love it if you could give us a review!](https://wordpress.org/support/plugin/discontinued-product-stock-status-woocommerce/reviews/)

## Screenshots

[⌊Custom message on the product page.⌉⌊Custom message on the product page.⌉[

Custom message on the product page.

[⌊Setting up a custom message and providing the URL of a similar product to buyers.⌉⌊
Setting up a custom message and providing the URL of a similar product to buyers
.⌉[

Setting up a custom message and providing the URL of a similar product to buyers.

[⌊Global Message for Discontinued Products.⌉⌊Global Message for Discontinued Products
.⌉[

Global Message for Discontinued Products.

[⌊Setting page for Global message.⌉⌊Setting page for Global message.⌉[

Setting page for Global message.

[⌊Discontinue a simple/variable product in Advance.⌉⌊Discontinue a simple/variable
product in Advance.⌉[

Discontinue a simple/variable product in Advance.

[⌊Discontinued Product Message for a particular variation.⌉⌊Discontinued Product
Message for a particular variation.⌉[

Discontinued Product Message for a particular variation.

[⌊Setting page for variation level discontinued messages.⌉⌊Setting page for variation
level discontinued messages.⌉[

Setting page for variation level discontinued messages.

[⌊Setting page for product level discontinued message.⌉⌊Setting page for product
level discontinued message.⌉[

Setting page for product level discontinued message.

[⌊Setting page for group level discontinued messages.⌉⌊Setting page for group level
discontinued messages.⌉[

Setting page for group level discontinued messages.

[⌊Revert Settings.⌉⌊Revert Settings.⌉[

Revert Settings.

## Installation

This section describes how to install the plugin and get it working. 1. Upload the`
discontinued-products-stock-status-woocommerce` plugin folder to your `/wp-content/
plugins/` directory 2. Activate the plugin through the \\’Plugins\\’ menu in WordPress
3. Visit the \\’ WooCommerce Discontinued Products\\’ menu item in your admin sidebar.

## Reviews

![](https://secure.gravatar.com/avatar/ce46278b8690513de50323d10c8affa205b73b1e1d315f62e47c5aca367851e9?
s=60&d=retro&r=g)

### 󠀁[Installation fails](https://wordpress.org/support/topic/installation-fails-18/)󠁿

 [Gerard ter Beke](https://profiles.wordpress.org/gerard-ter-beke/) October 24, 
2024

Not working on WooCommerce Version 9.3.3 , WordPress 6.6.2

![](https://secure.gravatar.com/avatar/566403460b5c8df5a8c3ff22539afdd8202ef82e956035d22659ff2f8765cab2?
s=60&d=retro&r=g)

### 󠀁[Helpful](https://wordpress.org/support/topic/helpful-451/)󠁿

 [Bernard Lemieux](https://profiles.wordpress.org/blecreateur/) September 13, 2024

Really helpful. Thanks.

![](https://secure.gravatar.com/avatar/fe51c626a99b99683ece3e976c00f751ee605aab28088d3eaf79117d63be3df2?
s=60&d=retro&r=g)

### 󠀁[Cool and fast support](https://wordpress.org/support/topic/cool-and-fast-support-2/)󠁿

 [mschuessler](https://profiles.wordpress.org/mschuessler/) April 30, 2024

Had trouble with the custom message…was fixed quickly. Thanks

![](https://secure.gravatar.com/avatar/8baf54bce22aff1504199c87f64943f1c1bc113a903ddd497c3fc2d2e1cdeeb9?
s=60&d=retro&r=g)

### 󠀁[Looks good so far](https://wordpress.org/support/topic/looks-good-so-far-10/)󠁿

 [gjohnday](https://profiles.wordpress.org/gjohnday/) March 18, 2024

Appears to work good. we only have it on one product right now.

![](https://secure.gravatar.com/avatar/e7c3553ad8ab5f6969b722ccbb9ff646a4721c87cf528431a58e0cff8c90c11b?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-pluggin-86/)󠁿

 [johanlw](https://profiles.wordpress.org/johanlw/) November 28, 2023

Works well and really helpful

![](https://secure.gravatar.com/avatar/287354d9378cc9c65f87ca085bec11a83e8e3c796d2dbd723b41210feb4a2884?
s=60&d=retro&r=g)

### 󠀁[Nice little plugin](https://wordpress.org/support/topic/nice-little-plugin-62/)󠁿

 [rondenbesten](https://profiles.wordpress.org/rondenbesten/) November 16, 2023

Nice plugin, fits our needs

 [ Read all 11 reviews ](https://wordpress.org/support/plugin/discontinued-product-stock-status-woocommerce/reviews/)

## Contributors & Developers

“Discontinued Product Stock Status for WooCommerce” is open source software. The
following people have contributed to this plugin.

Contributors

 *   [ SaffireTech ](https://profiles.wordpress.org/saffiretech/)

“Discontinued Product Stock Status for WooCommerce” has been translated into 1 locale.
Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/discontinued-product-stock-status-woocommerce/contributors)
for their contributions.

[Translate “Discontinued Product Stock Status for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/discontinued-product-stock-status-woocommerce)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/discontinued-product-stock-status-woocommerce/),
check out the [SVN repository](https://plugins.svn.wordpress.org/discontinued-product-stock-status-woocommerce/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/discontinued-product-stock-status-woocommerce/)
by [RSS](https://plugins.trac.wordpress.org/log/discontinued-product-stock-status-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.7.2 2026-09-17

 * New – Compatibility with WordPress 7.1.
 * New – Compatibility with WooCommerce 11.1.0.

#### 1.7.1 2025-12-30

 * Fix – Added Sanitization and Coding Standards.

#### 1.7.0 2025-12-25

 * Fix – Critical issue fixed

#### 1.6 2025-12-22

 * Fix – Code improvements aligned with WordPress guidelines.

#### 1.5.7 2025-12-08

 * Fix – Added a fallback to product ID detection to fix inconsistent grayscale 
   behavior.

#### 1.5.6 2025-12-04

 * Fix – Fixed the issue where the grayscale effect was not applied to some discontinued
   products.

#### 1.5.5 2025-09-08

 * Fix – Issue with hiding discontinued products from catalog and search results
   causing a critical error.

#### 1.5.4 2025-03-06

 * New – Added checkbox to discontinue simple products in the Discontinued Products
   tab.

#### 1.5.3 2025-02-04

 * Fix – Added validation to declaration of global variables.

#### 1.5.2 2025-01-07

 * Fix – removed unwanted action schedulers.

#### 1.5.1 2024-12-10

 * New – Compatibility with WordPress 6.7.1.
 * New – Compatibility with WooCommerce 9.4.3.

#### 1.5.0 2024-11-09

 * Fix – Minor UI fixes.

#### 1.4.0 2024-08-23

 * Fix – Removed unwanted text ‘found cart’ on the archive page.

#### 1.3.0 2024-08-20

 * Fix – Issue of ‘discontinued’ stock status not showing up on variation product
   pages unless refreshed twice.

#### 1.2.1 2024-05-23

 * Fix – Issue with display of Global Discontinued stock status message.

#### 1.2.0 2024-05-08

 * Fix – Minor UI issues.

#### 1.1.9 2024-04-29

 * Fix – ‘Hide Discontinued Products in WooCommerce Catalog & Search Results’ default
   setting not getting saved in database on plugin activation.
 * Fix – ‘Enable Product-Specific Discontinued Message’ default setting not getting
   saved in database on plugin activation.
 * Fix – ‘Enter Global Message for Discontinued Products’ default value not getting
   saved in database on plugin activation.

#### 1.1.8 2024-04-18

 * New – Compatibility with WPML and Loco.
 * New – Compatibility with WordPress 6.5.2.
 * New – Compatibility with WooCommerce 8.8.2.

#### 1.1.7 2024-03-30

 * Update – Now prioritizes product-specific messages over global messages by default.
 * New – Compatibility with WooCommerce 8.7.0.

#### 1.1.6 2024-03-05

 * Fix – Count of total products on the archive page for Product Categories if the
   Variable Product is marked as Discontinued through the option ‘Stock management’.
 * New – Compatibility with WordPress 6.4.3.
 * New – Compatibility with WooCommerce 8.6.1.

#### 1.1.5 2024-01-31

 * Fix – Issue of Discontinued Products adding up in total product count.

#### 1.1.4 2023-08-30

 * Fixed – Files updated

#### 1.1.3 2023-08-30

 * New – Tested plugin with HPOS Compatibility.

#### 1.1.2 2023-08-01

 * Fixed – Issue of Discontinued Filter option on the WooCommerce Products Page 
   for WooCommerce version 7.9.

#### 1.1.1 2023-04-24

 * Fixed – Issue of mark as discontinued option on babckorders for WooCommerce version
   7.6.
 * New – Tested with WordPress version 6.2 & WooCommerce version 7.6.

#### 1.1.0 2023-03-16

 * Fixed – Spelling mistake’s corrected.

#### 1.0.9 2023-02-01

 * Fixed – Negative Quantity Issue.

#### 1.0.8 2023-01-27

 * Fixed – CSS issue fixed.

#### 1.0.7 2023-01-25

 * Enhancement – Optimized query for better performance.

#### 1.0.6 2022-11-23

 * New – Restore Settings => Setting to set all the WooCommerce products in the ‘
   Discontinued’ stock status to ‘Out of Stock’ stock status on deactivation of 
   this plugin.

#### 1.0.5 2022-10-08

 * New – Mark as discontinued checkbox for setting product as discontinued in advance.

#### 1.0.4 2022-09-23

 * New – Settings to Hide Discontinued Products showing up in Website’s search results.

#### 1.0.3 2022-09-15

 * Fixed – Call of member function get_id() on null.
 * Fixed – Hide of discontinued product’s from search results.

#### 1.0.2 2022-09-08

 * Fixed – Filtering of discontinued products from products dashbaord.

#### 1.0.1 2022-09-03

 * Fixed – Hiding discontinued product for variable & grouped product.
 * Fixed – Grayscale image for discontinued produts.

## Meta

 *  Version **1.7.2**
 *  Last updated **3 weeks ago**
 *  Active installations **500+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **7.1.3**
 *  PHP version ** 7.2 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/discontinued-product-stock-status-woocommerce/)
   and [Swedish](https://sv.wordpress.org/plugins/discontinued-product-stock-status-woocommerce/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/discontinued-product-stock-status-woocommerce)
 * Tags
 * [discontinued](https://pcm.wordpress.org/plugins/tags/discontinued/)[products](https://pcm.wordpress.org/plugins/tags/products/)
   [stock-status](https://pcm.wordpress.org/plugins/tags/stock-status/)[tools](https://pcm.wordpress.org/plugins/tags/tools/)
   [woocommerce](https://pcm.wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://pcm.wordpress.org/plugins/discontinued-product-stock-status-woocommerce/advanced/)

## Ratings

 4.4 out of 5 stars.

 *  [  8 5-star reviews     ](https://wordpress.org/support/plugin/discontinued-product-stock-status-woocommerce/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/discontinued-product-stock-status-woocommerce/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/discontinued-product-stock-status-woocommerce/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/discontinued-product-stock-status-woocommerce/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/discontinued-product-stock-status-woocommerce/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/discontinued-product-stock-status-woocommerce/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/discontinued-product-stock-status-woocommerce/reviews/)

## Contributors

 *   [ SaffireTech ](https://profiles.wordpress.org/saffiretech/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/discontinued-product-stock-status-woocommerce/)