What to recommend when the product is out of stock
The default out-of-stock page shows a grayed-out button and loses the sale. A good one treats the moment as high-intent: the shopper told you exactly what they wanted. Show the closest in-stock alternatives first (same product, different variant; same need, different product), offer back-in-stock alerts as a consolation that captures the email, and use the moment to learn (which out-of-stock products get the most views is demand data). The ranking logic differs from normal recommendations: similarity to the dead product outranks generic popularity.
Why the dead product is high-intent data
A shopper on an out-of-stock page has done the hardest work already: they found the product, evaluated it, and decided to buy. The only thing missing is inventory. That intent does not evaporate; it redirects, usually to the nearest competitor with stock. Every out-of-stock view is a sale you can still save if the page works as a recommendation surface instead of a dead end.
Treat the product attributes as a query. Category, price band, key features, style tags: these define the substitution space. The recommendation job is to rank in-stock products by closeness to that query, not by what is popular site-wide.
The substitution ranking: what to show first
Order matters. First: the same product in a different variant (different size, color, or bundle) if any variant has stock. Second: the closest product in the same category and price band. Third: the same need served differently (the alternative brand or model your merchandisers would suggest in store). Popularity should be a tiebreaker, not the ranking.
Label the substitution honestly. "This is unavailable, but these are close" converts better than pretending the alternatives are the original. Shoppers accept a substitute when the page acknowledges the switch; they bounce when it feels like a bait and switch.
Back-in-stock alerts as a second conversion
Not every shopper will substitute, and that is fine: capture them. A back-in-stock alert converts a lost sale into an email subscriber with demonstrated intent for a specific SKU. These alerts have among the highest open and click rates in e-commerce email, because the shopper asked for exactly this message.
Make the alert SKU-specific and fast. "Notify me" for the exact variant, fulfilled within minutes of restock, beats a generic "back in stock" newsletter every time. And track alert-to-purchase conversion: it tells you which stockouts are actually costing money versus which are just noise.
Using stockout views as demand signals
Aggregate the data and the out-of-stock page becomes a demand sensor. SKUs with high views and high alert signups are restock priorities; SKUs with high views and low substitution clicks are assortment gaps (shoppers want something you do not really carry). Feed this into buying and merchandising, not just marketing.
The loop closes when recommendations improve restock decisions and restocks reduce the need for substitution. Most stores treat stockouts as a logistics problem and recommendations as a marketing problem; the out-of-stock page is where the two meet.
The SEO angle: keeping dead pages working
Out-of-stock pages often rank in search, which means Google is sending you shoppers for products you cannot sell. That is not a problem to fix by de-indexing; it is traffic to convert. The substitution widget turns ranking dead pages into ranking landing pages.
Keep the page's core content stable (the product information that earned the ranking) and let the recommendation layer do the selling. Do not redirect dead product URLs to category pages; you trade a convertible high-intent visit for a generic browse. The dead page with good substitutions outperforms the redirect in nearly every test.
Reviewed
Published Oct 4, 2026.