Discontinued Products - Magento 2

Composer ReadyComposer Ready
Hyvä ReadyHyvä Ready
100% of 100

This Magento 2 extension allows marking a product as discontinued.

  • Discontinued Product's visibility can be decided i.e whether it needs to be accessible via direct URL only or will be shown in category/search pages
  • Discontinued Product URL will be removed from sitemap if chosen to be visible via direct URL only
  • Discontinued Product will show alternative products either from manually selected products, related products or from sub category products
More Information
Compatibility (CE & EE)2.1.x, 2.2.x, 2.3.x, 2.4.x, 2.4.4
  • Quality Code
  • Free Installation
  • Lifetime Free Support
  • Quick Response


Avoid deletion of a product directly instead, mark it discontinued and show related product options to the customer.

Overview - Discontinued Products Magento-2 Extension

There are plenty of articles on the web explaining the best way to handle unavailable/discontinued products. We took the best approach after studying many such articles and created this extension to incorporate the best process in Magento-2 stores.

How does it work?

- It allows you to manually mark a product as discontinued, by opening a product in admin and clicking the 'Discontinue' button or you can configure it to discontinue product automatically at a specific date or when the product goes out of stock.

- As soon as the product gets discontinued, it will be removed from all the places on the website except it will work via direct URL.
- The purchase options will be removed from the product.
- The product will show similar/alternative products along with a discontinued message at the top of content which can be edited from admin settings.
- The extension can be configured to automatically trash/delete the product permanently after specific days or on a specific date.


How can this extension be beneficial to a store?

The usage of this extension will make sure you will completely use the SEO value of the discontinued product URL by showing alternative products to customers.


  • List discontinued products at separate grid(RedChamps > Discontinued Products > Product List) so that they can be viewed/managed easily
  • Instead of deleting products permanently from store it moves it to trash so that it can be safely restored in case required. The time after which product will be trashed and for how much time it will be kept in the trash can be configured in admin settings
  • Sends an email notification to admin for scheduled actions 'Discontinuation/Trash/Clean up from Trash' executed on a particular day
  • Displays related products as alternative products to discontinued products
  • Allows to mark products discontinued in bulk by importing a CSV file

Extension Configuration:

The extension settings are located at admin path RedChamps > Discontinued Products > Settings

Write Your Own Review
You're reviewing:Discontinued Products
Your Rating
Version v 1.1.2 - February 07, 2022
- [New] Compatibility with Hyva themes
- [New] Added option to link similar products while discontinuing products via bulk CSV import
- [Improvement] Moved recommended products in the discontinued message blocks so that there are better highlighted
- [Bug Fix] Fixed problem with recommended products limit functionality when products are pulled from either similar or related products source
- Code improvements
Version v 1.1.1 - March 24, 2021
- [Improvement] Improved performance of product discontinuation via bulk import & some bug fixed regarding import feature
Version v - June 16, 2020
Bug fix with setting Discontinued product title and other frontend settings at store view
Version v 1.1.0 - May 06, 2020
- [Bug Fix] Fixed error during code compilation, caused by version 1.0.9
- [Bug Fix] Fixed error "Fatal error: Call to a member function getLoadedProductCollection() on bool" for Magento enterprise versions when Google Tag manager is used
Version v 1.0.9 - April 25, 2020
- [New] Allowed to set custom meta robot tag for Discontinued Products using new admin setting "Store - Configuration - RedChamps - Discontinued Products - Frontend - Meta Robot Tag"
- Bug fixes to notification email
Version v 1.0.8 - September 11, 2019
[Compatibility Fix] Fixed compatibility on 2.3.2 (While it is setup to show discontinued product on direct URL only, product URL was throwing 404 page once discontinued)
Version v 1.0.7 - August 16, 2019
[Bug Fix] Fixed error "Undefined variable: pastDate" in cronjob execution
[Bug Fix] If custom admin URL is configured then after discontinuing the product redirect is being sent to storefront
[Improvement] Improved code
Version v 1.0.6 - January 17, 2019
- [Improvement] Replaced admin product list grids with UI component grids for Magento version 2.3.0 or higher
- [Improvement] Improved recommended products algorithm
- [Bug Fixes] Several bug fixes, including discontinued products are not getting automatically trashed/deleted as per settings RedChamps > Discontinued Products > Settings > Automatic Deletion
Version v 1.0.5 - December 17, 2018
- [New] Added section to manually assign Similar Products
- [Improvement] Improved code to avoid conflicts on category and search page with visibility of Discontinued Products
Version v 1.0.4 - December 04, 2018
- [New] Added new setting "Frontend > Recommended Products". Using these settings you can choose whether to display alternative products for Discontinued Product from "Related Product" list or from 'Sub Category'
- [New] Compatibility with Magento 2.3 Elastic Search
Version v 1.0.3 - August 27, 2018
- Added New option "Via Direct URL Only" to setting Store > Configurations > RedChamps > Discontinued Products > General > Discontinued Product's Visibility. By using this setting discontinued products can be made hidden from both category and search pages
Version v 1.0.2 - April 18, 2018
- Fixed enterprise edition compatibility issues
- Added option for restoring discontinued product
- Added api support to discontinue/restore product
- Added new setting "Store > Configurtion > RedChamps > Discontinued Products > General Options > Discontinued Product's Visibility" to decide discontinued products' visibility
Version v 1.0.1 - January 17, 2018
- Added bulk import feature
Version v 1.0.0 - December 05, 2017
- Initial version

Few of our happy customers

Copyright © 2016-present RedChamps. All rights reserved.