Customer experience

What to do with out-of-stock and discontinued product pages

Keep, redirect or remove? A decision table for out-of-stock, seasonal and discontinued product pages, covering what shoppers see and what Google sees.

A shelf of folded jumpers with one empty space
On this page

Many of your customers land on your out-of-stock product page as their first page view. They have searched for that exact product, Google has sent them to you and now they are told it’s not available. What you do next will determine if they buy something else, come back later or never return.

You also need to think about search engines. They may have been sending customers to your product detail page for years, and how you treat it decides whether that traffic keeps arriving.

Four situations, four answers

First work out which situation you are in. Then follow the advice below for your customers and search engines.

Out-of-stock and discontinued pages: what to do
Situation Keep the URL? What the shopper sees What search engines see
Temporarily out of stock Yes A clear status, alternatives, an alert sign-up, and a return date only if you know it The live page, marked out of stock in its product structured data
Seasonal line Yes, the same one every year An out-of-season note, what’s in season now, and an alert for its return A live page that keeps its history from season to season
Discontinued, with a replacement Redirect it, or keep it with a notice The replacement, or a clear “replaced by” link to it A 301 redirect to the replacement, or a live page marked discontinued
Discontinued for good No A helpful 404 page if they arrive from an old link A 404 or 410 status, and the page gone from your sitemap

Temporarily out of stock: keep the page working

Keep your product page live and make it useful.

  • Say it plainly, next to the price: “Out of stock”. Don’t use “unavailable” or a greyed-out button with no explanation.
  • Give a return date only if you really know it. If you have a confirmed purchase order, tell them: “Back in early March” helps. A guess that slips three times is worse than nothing.
  • Show alternatives on the page, chosen for fit: the same type of product, a similar price, in stock now.
  • Offer a back-in-stock alert, so customers don’t have to keep checking.
  • Set availability in your product structured data to OutOfStock, so search results aren’t lying to your customers.

Ottla’s back-in-stock and price-drop alerts add a “notify me” form to product pages. Shoppers confirm their email address first (double opt-in), get one email per product, and every alert has an unsubscribe link. For alternatives, Ottla’s recommendation rows show what other shoppers viewed and bought, and the assistant suggests similar products. By default the assistant never recommends a product the shopper can’t buy (a website setting you can change).

Prices and stock come from your store’s own data, synced from Magento every few minutes, or checked live with Magento when you switch on live pricing and stock. Guardrails remove any price or stock claim that data does not support.

Out-of-stock product page with an email alert form and similar products Example data
An out-of-stock page with an alert form and similar products. Shown on a demo store.

Seasonal lines

Garden furniture in October. Thermal base layers in May. Seasonal products run out on purpose, and they come back.

You should keep your product page and use the same URL each year. The page builds up links, reviews and search history over the seasons, and starting a new page each spring throws that away. When your new range arrives, update the copy and photos and keep the product in your sitemap. You can use the quiet months to collect alert sign-ups. When you order your stock, you will know how many customers are waiting for it.

Discontinued with a replacement

When a product is replaced by a newer version, you have two good options.

  • A 301 redirect to the replacement, if the new product does the same job. Shoppers and search engines go straight to what you sell now.
  • Keep the old page with a clear “replaced by” notice, when customers still search for the old product by name or code. Trade customers keying in a part number to reorder are the classic example. They need to see that the part has changed and what to order instead.

For that second case, the Ottla Magento module has a setting called Keep discontinued products findable, off until you switch it on. Disabled products that sold recently (in the last 365 days, unless you change it) can still be found by SKU or product code in Ottla’s search. They’re shown as discontinued, with their replacement, and can’t be bought. The replacement comes from a product attribute you choose or, if your up-sells really are replacements, from the first up-sell.

Search results naming a discontinued product’s replacement Example data
A search for an old code shows that it’s discontinued and names the replacement. Shown on a demo store.

Discontinued for good

Some products simply end. No successor, nothing close enough to send people to. Then:

  • return a 404 or 410 status, so search engines drop the page;
  • remove it from your sitemap;
  • update your own links to it, including blog posts and buying guides that mention it;
  • make your 404 page helpful, with a search box, your main categories and a way to contact you.

Don’t redirect everything to the home page. A shopper who clicked a link for a specific product and lands on your home page has no idea what happened. Google calls a page that tells visitors something no longer exists, while returning a normal success status, a “soft 404”, and says removed content should return a 404 or 410 when there’s no suitable replacement. A mass redirect to the home page helps nobody.

Magento settings to check

  • Display Out of Stock Products. You can find this under Stores > Configuration > Catalog > Inventory > Stock Options. This one setting decides whether your out-of-stock products are shown in your category pages and search results. It applies to your whole installation, not per website or category, so choose the option that suits most of your range. Either way, each product stays reachable at its own address.
  • Salable quantity, if you are using multi-source inventory. Your product is only in stock for shoppers if the salable quantity is greater than 0. This is the quantity minus any reservations from orders that haven’t shipped. Check this before assuming the quantity in the product grid is what shoppers see.
  • Only X left Threshold, under the same settings as above. Magento shows your customer “Only X left” when stock falls below this number. Make sure your low stock messages are honest: they have to be true for that product at that moment, and the CMA watches pressure messages closely. See our post on urgency claims under the DMCC Act.

Use your waiting list to decide what to reorder

Alert sign-ups are demand you can count. In Ottla, Catalogue > Waiting list shows which products shoppers are waiting for (back in stock or a price drop), how many are waiting, how long the oldest has waited and the value waiting. It shows totals only, with no shopper contact details displayed or exported, so it’s easy to share with a buying team.

Sort it by value before your next purchase order. A product with forty people waiting deserves a faster reorder than one with two, and a product nobody is waiting for may not need reordering at all.

Waiting list showing products shoppers are waiting for and the value waiting Example data
The waiting list shows demand for out-of-stock products, as totals only. Example data.

Search engine guidance checked against Google Search Central on 22 October 2026. Magento setting names are from a standard Magento Open Source 2.4 admin.

FAQ

Questions about out-of-stock product pages

Should I delete out-of-stock product pages?

No. If your product is coming back you should keep your product page live. Show your customer that it’s out of stock and offer them alternatives and an alert. Deleting it throws away the searches and links that bring people to it.

Should I redirect discontinued products?

Yes, if you have a true replacement product. You should 301 redirect to your replacement product. Never redirect discontinued products in bulk to your home page or a broad category: shoppers lose their way, and search engines may treat it as a missing page anyway.

Can out-of-stock pages hurt SEO?

Your product being out of stock is not the issue. It’s when your page looks empty that search engines may treat it as a soft 404. Make sure your page has a clear status, a full description and alternatives.

Should out-of-stock products appear in search results?

In your site search, you will often want to show them. They have searched for that product by name, so show them it’s out of stock and offer alternatives. On your category pages it depends on the category. Magento’s Display Out of Stock Products setting covers both, so pick the option that suits most of your catalogue.

Are back-in-stock emails marketing under GDPR?

An alert the shopper asked for is usually treated as a service message rather than marketing, but check with your adviser. Ottla uses double opt-in and an unsubscribe link in every alert, and an optional marketing tick box (never pre-ticked) passes only the shoppers who tick it to Klaviyo.

Try it on your store

See Ottla on your own catalogue

Start a 14-day free trial with no card, or book a demo and we’ll walk through it with your products.