Every catalog has products that stop. A supplier drops a model, a part is replaced by a newer revision, a variant is no longer made. The shop is then left with a product page that still looks alive, and three bad options for dealing with it.
Leave it live, and shoppers add something to the cart that you cannot ship. Disable it, and an indexed URL that people bookmarked, linked and found in search turns into a 404. Delete it, and you lose the history on top of that. In all three cases the buyer meets a dead end exactly where a good store would point to what to buy instead.
This is the problem our free Magento 2 extension, Discontinued Products, was built for. It follows our posts on spare parts and on what B2B buyers actually want from a self-service portal, where “this item is gone, what do I order now?” came up again and again.
The module keeps the product and its URL in the catalog and changes what the product is allowed to do. You mark it as discontinued, and from that moment it cannot be bought anywhere on the storefront. The page stays, so the URL keeps working for bookmarks, old emails and search results, and the page now helps the shopper move on.
You choose between two behaviors per product.
If the redirect target is misconfigured, for example the SKU no longer exists, the module does not send the shopper into a broken page. It falls back to showing the discontinued product with its message.
A lot of “discontinued” setups only hide the button on the product’s own page. Here, a discontinued product cannot be added to the cart from category listings, from search results, or through a direct cart or API call either.
For configurable products the check works per variant. Discontinue one color and size combination and only that combination is blocked, while the rest of the product keeps selling normally.
On the product edit page there is a dedicated Discontinued Products tab with three things:
The default message and a master on/off switch live under Stores, Configuration, Bro Solutions, Discontinued Products.
The reorder flow is where a discontinued item hurts most. A buyer pastes a list of SKUs from last year’s order, and one of them no longer exists.
If you run our Quick Order module, install the free connector, brosolutions/quick-order-discontinued-connector. Adding a discontinued SKU to a Quick Order list then shows its replacement suggestions inline, and “Add to Cart” stays blocked until every discontinued line is removed or swapped. There is nothing to configure.
The core module works on any theme. For Hyvä, a small companion module, brosolutions/discontinued-products-hyva, restyles the message and the Replacement Products block with Hyvä’s own Tailwind components.
We have seen the same mistakes on catalogs with or without our module.
composer require brosolutions/discontinued-products
bin/magento module:enable BroSolutions_DiscontinuedProducts
bin/magento setup:upgrade
For Hyvä, add brosolutions/discontinued-products-hyva as well. The module is free and released under the MIT license. Source code is on GitHub.
If your product lifecycle lives in an ERP or PIM, or a large range is about to be retired and you need the replacements mapped and imported, that is the kind of custom Magento work we do. Write to contact@brosolutions.net and tell us how your catalog handles retired products today.