How to Handle Out-of-Stock Products

Every online store runs out of stock eventually. A product takes off faster than you expected, a supplier slips a shipment, or a seasonal favourite sells through before you can reorder. The question is not whether it will happen but what your store does in the moment a customer lands on a product they cannot buy. Handled badly, an out-of-stock product is a dead end that sends a ready-to-buy shopper straight to a competitor. Handled well, it becomes a chance to capture demand, keep the relationship alive, and even build anticipation.

This guide covers the practical decisions behind managing stockouts: what to do with the product page itself, how to capture customers who still want the item, how to protect your search rankings, and how to reduce how often shortages happen in the first place. The underlying idea is simple. An empty shelf does not have to mean an empty cart. With the right approach, you can hold on to most of the value a stockout would otherwise destroy.

Why out-of-stock handling matters

When a shopper reaches a product they want and finds it unavailable, you are at a fragile moment. They arrived with intent, which is the hardest thing to earn, and now that intent has nowhere to go. If the page offers no alternative and no way to stay connected, that intent evaporates. Worse, a clumsy stockout erodes trust. A customer who feels let down once is slower to return, and a store that frequently shows unavailable products starts to feel unreliable.

There is also a hidden cost in lost data. Every customer who wanted something you could not sell is a signal about real demand, and if you do nothing to capture them, that signal is gone. The stores that handle stockouts best treat them as information as much as inconvenience. They learn which products to prioritise reordering, which to expand, and which customers to bring back the moment supply returns. Over a year, the cumulative effect of handling these moments well rather than poorly can be the difference between a store that grows steadily and one that leaks customers it worked hard to attract.

Intent intact
A shopper on an out-of-stock page already wants to buy, so the goal is to capture that demand rather than waste it
Source: Baymard Institute

What to do with the product page

The biggest mistake stores make is deleting the product page or hiding it entirely. When you remove a page, you throw away its search ranking, the links pointing to it, and any customer who arrives from a saved bookmark or an old email. The far better move is to keep the page live and adapt it. Mark the item clearly as temporarily unavailable, but keep all the rich content that made it appealing in the first place: the images, the description, the reviews.

On that page, replace the disabled buy button with a clear next step. The most valuable option is a restock notification signup, which we will cover shortly. Alongside it, be honest about availability. If you know roughly when the item will return, say so. A simple message such as expected back soon reassures shoppers far more than silence. Vague or absent information is what pushes people away, not the shortage itself.

Offer alternatives, not dead ends

A shopper who wanted one product is often happy with a similar one. Use the out-of-stock page to surface relevant alternatives: the same item in a different colour or size, a comparable product at a similar price, or the next model up. Thoughtful recommendations here do double duty, rescuing the sale and showing customers the breadth of your range. This is closely related to the techniques covered in our guide to upselling and cross-selling, where the goal is to guide shoppers toward products that genuinely suit them.

Capture demand with restock alerts

The single most powerful tool for handling stockouts is the back-in-stock notification. Instead of letting interested shoppers leave with nothing, you invite them to enter their email and be alerted the moment the product returns. This converts a lost sale into a warm lead and gives you a precise, pre-qualified list of people to contact when stock arrives. These customers have already told you exactly what they want, which makes the eventual restock email one of the highest-converting messages you can send.

Restock alerts also generate genuine demand data. If a hundred people sign up for one product and three sign up for another, your reordering priorities just became obvious. You can use that interest to decide how much to reorder, whether to expand a popular line, and which products deserve more prominence on your store. The signup itself should be effortless: a single field, a clear promise, and an instant confirmation.

Two ways to handle a stockout
Approach Outcome
Delete or hide the page Lost ranking, lost links, lost demand data, frustrated shoppers
Keep page, add restock alert Captured demand, preserved SEO, alternatives offered, warm leads

Protecting search rankings and links

Product pages often take months to earn their place in search results, and a stockout should not undo that work. As long as you expect the item to return, keep the page live and accessible so it retains its ranking and continues to receive traffic. Removing it abruptly can produce error pages, break inbound links, and confuse search engines, all of which cost you visibility that is hard to rebuild.

For products that are permanently discontinued, the handling is different. Rather than leaving a dead page, redirect it to the closest available alternative or to the relevant category so that visitors and search engines land somewhere useful. This preserves the value of any links pointing to the old page while guiding shoppers toward something they can actually buy. The principle in both cases is continuity: never let a customer or a search engine hit a dead end without a clear path forward.

Reducing how often stockouts happen

The best way to handle out-of-stock products is to have fewer of them. While you can never eliminate stockouts entirely, good inventory discipline keeps them rare and manageable. Start by understanding which products sell steadily versus which spike unpredictably, and set reorder points that account for how long your suppliers take to deliver. The faster a product sells and the slower it restocks, the larger the buffer you need.

Pay particular attention to your best sellers and to seasonal demand. Running out of a flagship product is far more damaging than running out of a slow mover, so concentrate your forecasting effort where the stakes are highest. Lean on your own sales history, watch the restock signup data your store collects, and plan ahead of predictable surges such as holidays or promotions. A small amount of forward planning prevents a disproportionate amount of lost revenue and customer frustration.

Plan ahead
Setting reorder points around supplier lead times keeps your best sellers in stock when demand peaks
Source: Shopify

Communicating clearly while you are out

How you talk to customers during a shortage shapes whether they wait for you or move on. Silence is the enemy. When a product is unavailable, say so plainly and, where you can, give an honest sense of timing. Customers are remarkably patient when they feel informed and remarkably impatient when they feel ignored. A short, clear message on the product page does more to preserve goodwill than any amount of polished design, because it treats the shopper as someone worth keeping in the loop rather than someone to quietly disappoint.

The same clarity should extend to the customers who have already raised their hands by signing up for a restock alert. When stock returns, contact them promptly and make it effortless to complete the purchase they wanted to make. If a delay stretches longer than expected, a brief update acknowledging the wait keeps trust intact and shows that you have not forgotten them. These small communications cost almost nothing and pay back in customers who feel respected. Handled with care, a shortage can actually strengthen a relationship, because the customer sees how you behave when you cannot simply take their money, and that impression lingers long after the product is back on the shelf.

It also helps to keep your own team aligned on the message. When support staff, your storefront, and your emails all say the same thing about availability and timing, customers experience a store that has its act together. Mixed signals, where one channel promises a date that another contradicts, do more damage than the stockout itself. Consistency is a form of respect, and it is one of the cheapest trust-builders available to any store.

Turning scarcity into anticipation

A stockout is not always bad news. Handled with the right tone, limited availability can actually increase desire. When a popular product sells out, an honest message acknowledging the demand and inviting customers to join the waitlist can build genuine anticipation for its return. The restock itself then becomes an event you can announce, complete with a ready-made audience of people who already raised their hands.

The key is sincerity. Manufactured scarcity that customers see through damages trust, but real, transparent communication about genuine demand strengthens it. Treat the people who waited as valued customers when stock returns, perhaps by giving your waitlist first access before reopening to everyone. That small courtesy rewards loyalty and reinforces the feeling that being on your list is worthwhile. The same care you bring to the rest of your store, from clear communication to a smooth checkout, should extend to how you reduce cart abandonment across every stage of the journey.

Bringing it together

Out-of-stock products are an inevitable part of running a store, but lost sales are not inevitable at all. Keep your product pages live and informative, replace the buy button with a restock signup, offer genuine alternatives, and protect the search value those pages have earned. Behind the scenes, sharpen your inventory planning so that shortages stay rare and never strike your most important products. Most importantly, treat every stockout as a chance to learn what customers want and to bring them back the moment you can deliver it.

Do all of this and the empty shelf stops being a problem and starts being an opportunity. You capture demand you would otherwise have lost, you gather data that sharpens your buying, and you keep customers engaged instead of driving them away. For a wider view of how these tactics fit alongside conversion, retention, and the rest of your store strategy, the ecommerce optimization guide ties the whole picture together, and our new piece on reducing shipping costs tackles another common source of lost sales.

Frequently asked questions

Should I delete a product page when it goes out of stock?+
No. If the product will return, keep the page live so it retains its search ranking and inbound links. Mark it as temporarily unavailable and add a restock alert. Only redirect a page when the product is permanently discontinued.
How do back-in-stock alerts help my business?+
They convert lost sales into warm leads and give you precise demand data. Customers who sign up have told you exactly what they want, making the restock email highly likely to convert and helping you decide how much to reorder.
What should I do with a permanently discontinued product?+
Redirect its page to the closest available alternative or the relevant category. This preserves the value of any links pointing to the old page and guides shoppers toward something they can still buy, rather than leaving them on a dead page.
How can I reduce how often I run out of stock?+
Set reorder points that account for supplier lead times, focus your forecasting on best sellers and seasonal demand, and use your own sales history and restock signup data to plan ahead of predictable surges.

References

  1. Baymard Institute. E-commerce product page and user experience research. baymard.com
  2. Shopify. Inventory management and stockout handling guidance. shopify.com

Want help tightening up your store? Explore our ecommerce optimization resources, or get in touch to talk it through.

Back to blog