Every shopper who lands on a sold-out product page is telling you three things you badly need to know: the product is still wanted, which exact version they wanted, and that they would have bought it today. Most small stores collect none of it. They delete the page, hide the product, or leave a dead buy button — and the customer goes somewhere else.
A stockout is not just a fulfilment gap. It is a buyer experience moment, and how you handle it decides whether that buyer waits, looks elsewhere, or never comes back. This guide shows you what to do with out-of-stock products: what to show on the page, how to keep the sale, and how to protect the rankings the page has already earned.
First, Check the Product Is Really Out of Stock
Before you do anything clever, confirm the product is actually out of stock. A surprising number of sold-out labels are mistakes, not empty shelves.
On Shopify, three mix-ups come up often: inventory tracking is on but no quantity was ever entered, so the system treats the product as zero; stock is assigned to the wrong location, so units in your warehouse are invisible to the website; or one variant is at zero and the page makes the whole product look unavailable, when the other sizes are sitting on the shelf.
Two minutes in your product admin catches all three. If you run ads, do the same check on your top ten products every time a sold-out label appears where you did not expect one, because a false sold-out is the most expensive kind: you are turning away buyers for a product you could have shipped.
Keep the Page Live — Do Not Delete It
The single most important rule is this: do not delete or hide a product page that is only temporarily out of stock. Keep the page live and mark it sold out, as Google itself recommends. Its guidance on pausing an online business says it plainly: it is better to still allow the page and mark it out of stock.
Deleting the page throws away months of links and rankings for a problem that might last three weeks. A 404 error also tells the customer nothing and gives them no reason to come back. The page has already earned its place in search results — a sold-out page that still ranks is an asset, not an embarrassment.
The only case for removing a page is a product that is gone for good. Then redirect the URL to the closest replacement product, or to the collection it belonged to — never to the homepage, because a shopper who searched for a specific product and lands on a homepage just leaves.
What the Page Should Show Instead
A good out-of-stock page makes three things clear immediately: the product is currently unavailable, the buyer has a way to be told when it returns, and this is a temporary situation, not a permanent discontinuation.
Replace the buy button with a clear "Out of stock" label and a "Notify me when it is back" form — a simple email field is enough. Add a restock date if you know one, and be honest about it: "Back in stock on 20 December" is useful, while a vague "coming soon" is not. If you can take backorders, say so next to the button, with the expected shipping date, and only offer that when you can genuinely meet the date.
Then show two or three close alternatives directly on the page, below the notification form. Point the shopper to similar products they can buy today. Recommend your best match for what they wanted, not your most expensive product — a shopper who wanted a blue mug in medium will not be helped by being shown a premium set three times the price.
Keep the page's structured data in sync too. If your theme outputs product structured data, check that it switches the availability to OutOfStock, BackOrder or PreOrder when stock hits zero, so Google and shopping feeds show the same status as your page. Mismatched availability between your page, your structured data and your shopping feed is the kind of inconsistency that causes problems later.
Count the Signups — They Are Your Reorder Data
The back-in-stock list is not just a courtesy to shoppers. It is the best demand data you have. Count signups by variant and use the count when you size your reorder: if forty people asked for the medium and three asked for the large, you now know what to order more of.
This matters because a stockout quietly corrupts your sales history. When a product is out of stock, it sells zero units, and your sales report records those zeros exactly as if customers had stopped wanting the product. It has no idea the shelf was empty. When you calculate your normal sales rate, leave the stockout weeks out entirely and average only the weeks the product was actually available — otherwise every future reorder will under-buy, and the same product will sell out again.
When stock lands, email the people who asked first, before anyone else hears about it. Send it within 24 hours of the product becoming available, keep the message simple — the product is back, here is the link, stock is limited — and send it only about that product. A back-in-stock email that turns into a general promotion is a marketing email, and it will earn unsubscribes from the very people who wanted to buy.
Stop Paying to Send Traffic to a Page That Cannot Sell
While a product is out of stock, pause the ads that point at it. Every click you buy for a page with no buy button is money spent on a visit that cannot convert, and a shopper who clicked an ad and found nothing to buy is less likely to click your next one.
The same applies to email and social posts. Do not promote a product you cannot ship. Promote the alternatives instead, or promote the back-in-stock list itself — "join the waitlist" is a genuine offer, and it builds a list of buyers for the day the product returns.
How Long Is Too Long?
A product that has been showing as unavailable for more than 60 days with no clear restock timeline is no longer serving anyone. At that point, hide it from your collections and category pages so shoppers stop browsing past unavailable products, but keep the URL live and redirect it appropriately if the product is truly discontinued. Shoppers who find it through search should still land somewhere useful, not on a dead end.
For seasonal or limited products, the same logic applies in reverse: keep the page live, build a waitlist, and let the page keep its rankings so the next run starts with an audience already waiting.
What to Do With Variants
Most stockouts are variant stockouts, not whole-product stockouts: the medium is gone, but the small and large are on the shelf. Handle them at variant level. Disable only the sold-out variant, keep the rest of the product buyable, and show the notification form for the missing size specifically.
This is also where clear labelling pays off. Show availability per size or colour as early as possible — on category pages and search results, not only on the product page — so shoppers do not click through to a size that does not exist. And push out-of-stock products to the bottom of category and search pages, so available products come first and fewer shoppers are disappointed.
Handling Orders You Have Already Taken
The hardest case is the oversold order: two customers bought the last unit. Here the rules are not just good practice, they are legal obligations in many places. Under the US Federal Trade Commission's mail order rule, you owe the customer a prompt notice, the choice to wait or cancel, and a refund to the original payment method if they cancel. Tell them quickly, tell them plainly, and do not make them chase you for the answer. A short, honest delay notice is far better than silence, and it is one of the reasons good communication matters as much as good stock control. Our guide on handling shipping delays for an online store covers what to tell customers and when, so a late parcel does not become a lost customer.
A Short Checklist for Every Stockout
When a product sells out, run through this list. Confirm the stock is genuinely zero, not a settings mistake. Keep the page live, mark it sold out, and replace the buy button with a notify-me form. Add a restock date if you know one, or take backorders only if you can meet the date. Show two or three close alternatives. Pause ads pointing at the page. Count the signups by variant and use them to size the reorder. Email the waitlist within a day of the restock. And if the product will not return within 60 days, hide it from listings while keeping the URL useful.
The Bottom Line
A sold-out product is not a dead product — it is a list of buyers you are ignoring. Keep the page, capture the demand, tell people honestly when it will be back, and use the numbers to order better next time. Handled well, a stockout costs you one sale and earns you a customer who comes back the moment the product returns.