How to handle out-of-stock products in your online store

Home / Everything About / Everything About E Commerce / How to handle out-of-stock products in your online store

A stockout is not just a fulfillment gap. It is a buyer experience moment. How you handle it determines whether the buyer waits, looks elsewhere, or never comes back. The right approach depends on whether the product is coming back, and when.

What happens when you just remove an out-of-stock product page?

Removing a product page when stock runs out is the most common mistake in ecommerce stockout management. It feels like a clean solution. The product is gone from your catalog, no buyer will try to purchase it, problem solved. But it creates two problems that are harder to fix than the original stockout.

First, any search ranking the product page had earned is gone with it. If your product page ranked on page one for a specific keyword, removing it sends that traffic to your competitors immediately. Building that ranking back when the product returns takes time, sometimes months. You did not just lose inventory. You lost a search asset.

Second, any external links pointing to that URL now lead to a 404 error. If another website, a blog, a review, or a social media post linked to your product, that link now delivers a dead-end experience to anyone who clicks it. 404 errors reduce trust in your store and can affect how search engines assess your site's reliability over time.

The rule is simple. Keep the page. Handle the stockout on the page itself, not by removing it.

How do you display an out-of-stock product correctly?

An out-of-stock product page should make three things clear immediately. The product is currently unavailable. The buyer has a way to be notified when it returns, or a recommendation for what to do instead. The buyer understands this is a temporary situation, not a permanent discontinuation.

The add-to-cart button should be replaced with an "Out of stock" label and a stock notification form. A simple email field with a "Notify me when available" button gives the buyer a low-effort way to stay connected to the product without leaving your store. Studies show that notification emails convert at significantly higher rates than cold retargeting, because the buyer has already indicated intent.

Avoid vague messaging. "Currently unavailable" tells the buyer nothing useful. If you know the restock date, state it. "Back in stock on [date]" is a concrete answer that gives buyers the information they need to decide whether to wait. If you do not know the exact date, a general timeframe, such as "Expected back in stock within two to three weeks," is more useful than no information at all.

Should out-of-stock products appear in category listings?

This is a decision with real tradeoffs. Showing out-of-stock products in category listings gives buyers the option to set up notifications and keeps the page indexed. Hiding them from listings reduces the experience of browsing past multiple unavailable products.

A reasonable approach is to keep out-of-stock products in category listings but sort them to the bottom. Buyers who are browsing to find something available are not frustrated by products they cannot buy dominating the category page. Buyers who specifically want that product can still find it and set up a notification.

If a product has been out of stock for more than 60 days with no clear restock timeline, that is the point to reconsider its visibility. A product that has been showing as unavailable for two months with no update is no longer serving the buyer experience. Hide it from listings at that point, but keep the URL live and redirected appropriately.

What is the right way to use "notify me when available"?

A notification form on an out-of-stock product page captures demand from buyers who are already at the highest point of purchase intent for that specific product. They found the page, they want the product, and they are willing to give you their email to be told when it is back. This is not passive data collection. It is an active sales pipeline for your restock.

When stock returns, send the notification email promptly. Buyers who signed up months ago and receive an email after they have already found the product elsewhere will unsubscribe. The notification email should go out within 24 hours of the product becoming available. Make the email simple: the product is back, here is the link, stock is limited. No lengthy newsletter formatting. One clear message, one link.

Track how many buyers sign up for notifications per out-of-stock product. High notification volume for a specific product tells you that demand is strong and the restock is worth prioritizing. Low notification volume tells you the product may not be worth the investment of a reorder. Notification data is demand research you are collecting for free.

How do you recommend alternatives on an out-of-stock page?

For every out-of-stock product, identify two or three alternatives from your catalog that serve a similar need. Display them directly on the out-of-stock page below the notification form. A buyer who cannot get what they came for is not necessarily lost if there is a relevant alternative in front of them.

Choose alternatives thoughtfully. They should genuinely serve the same buyer intent, not just be vaguely related products from the same category. A buyer looking for a specific running shoe does not want to see a walking boot as an alternative. A buyer looking for a cotton t-shirt in blue does not want to see a linen shirt in green. The closer the alternative matches what the buyer was looking for, the more likely they are to convert on it rather than leaving.

Avoid the instinct to recommend your most expensive products as alternatives. Recommend your best match for the buyer's apparent need. A buyer who converts on a well-matched alternative is a retained customer. A buyer who feels the alternative was pushed on them for commercial reasons is not coming back.

How do you handle variants that are out of stock?

Variant-level stockouts, such as a product that is available in all sizes except the most popular one, are common and require a specific treatment. Do not mark the whole product as out of stock when only some variants are unavailable. Show the product as available, but make the out-of-stock variants visually distinct on the product page.

Strike-through text, grayed-out swatches, or a crossed-out size option all communicate that a specific variant is unavailable without suggesting the whole product is gone. A buyer who wants medium in blue can see at a glance that it is out of stock and select large as an alternative, or sign up for a notification specifically for medium blue without leaving the page.

Per-variant notification forms are more useful than product-level ones for this reason. A buyer who signs up for a notification at the product level and then receives an email saying "this product is back" may arrive to find that their specific size is still unavailable. A notification tied to the specific variant they wanted converts better because it delivers exactly the information they asked for.

What should you do with permanently discontinued products?

If a product is discontinued and will not return, the product page still should not be deleted immediately. Keep it live for at least three to six months and display a clear message that the product has been permanently discontinued. Offer alternatives where they exist. This gives search engines time to process the status change rather than encountering a sudden 404.

After the initial period, set up a 301 redirect from the discontinued product's URL to the most relevant alternative product or category page. A 301 redirect transfers most of the original page's search authority to the destination page. The ranking equity the product page accumulated does not disappear. It flows to your catalog rather than evaporating with the page.

Never redirect discontinued products to your homepage. A homepage redirect is a signal to search engines that the original URL has no relevant replacement. Send the redirect to the closest match in your catalog. If no single product is a close match, redirect to the most relevant category page.

How do out-of-stock pages affect your SEO?

A product page that is clearly marked out of stock, with a notification option and links to alternatives, does not harm your search rankings. Search engines understand that products go in and out of stock. A page that has been out of stock for a short period but retains its content and structure is treated as a temporarily unavailable page, not a defunct one.

What does harm rankings is a product page that stays live but returns nothing useful to a buyer, a page with only an out-of-stock message and no content, or a page that repeatedly goes out of stock without any useful information. These signal a poor buyer experience, which affects how search engines assess your pages over time.

The best-performing out-of-stock pages maintain full product descriptions, images, and structured data. They add a notification form and alternative recommendations. They look like a product page that happens to be temporarily unavailable, because that is exactly what they are.

How do you prevent stockouts in the first place?

The best stockout strategy is one you rarely need. Reorder points, safety stock, and real-time inventory tracking are the tools that prevent stockouts before they happen. A product that runs out was either selling faster than forecast, or the reorder point was set too low, or a delivery was delayed and safety stock was not sufficient to cover the gap.

Review stockout frequency per product regularly. If the same product keeps running out, the reorder point or the safety stock buffer needs adjusting. A recurring stockout is a systems problem, not a supply problem. The fix is in how your inventory is managed, not just in ordering more next time. For a full breakdown of how to set reorder points and manage stock levels, see how to manage inventory for your online store.

How WEMASY handles out-of-stock products

WEMASY's e-commerce system automatically marks products as out of stock when inventory reaches zero, keeps the product page live, and lets you configure whether out-of-stock products display in category listings. You can set up stock notification forms so buyers receive an email when a product is restocked. Variant-level availability is tracked separately so a product with one unavailable size does not disappear from your catalog entirely. See what is included in each plan on the pricing page. For guidance on structuring SKUs so variant-level stockouts are tracked accurately, see what is a SKU and how to use them in your store.

Frequently asked questions

How long can a product stay out of stock before it affects its search ranking?

Should I let buyers add out-of-stock items to a wishlist?

Is it worth running ads to a product page that is currently out of stock?

What should the notification email say when a product comes back in stock?

Can out-of-stock product pages still attract search traffic?

Should I discount a product that has been out of stock for a long time once it restocks?