How should out-of-stock products rank while they are unavailable?
Updated October 4, 2026 ยท DeftMerch answers
Short answer: Out-of-stock products should stay visible enough to keep their search equity but rank below purchasable alternatives, with the availability status unmistakable. Pulling them from results entirely forfeits the ranking they earned and hands the demand to competitors. Ranking them as if nothing changed wastes shopper attention and trains visitors to distrust your results. The middle path is a soft demotion plus honest signaling: keep the product findable, show the stock status before the click, and offer the next-best purchasable alternative right beside it.
Why hiding out-of-stock products backfires
The instinct is to filter unavailable products out of everything: search, collections, recommendations. It feels clean. But those products earned their rankings through clicks, conversions, and links, and removing them resets that equity to zero. When the product restocks, it climbs back from scratch while competitors kept their positions. Worse, shoppers searching for the specific product land on your site, find nothing, and bounce to a competitor who kept their listing live with a back-in-stock option. You lose the sale twice: once now, once later.
The soft demotion approach
Rank out-of-stock products with a penalty, not a ban. They appear below in-stock alternatives for the same intent but remain reachable, preserving their URL authority and capturing the shoppers who specifically want that item. The size of the penalty should scale with expected restock time: a product back next week gets a light demotion; a discontinued product gets a heavy one. Make the penalty a ranking input, not a filter, so merchandisers can tune it and the system can learn from how shoppers respond.
Signaling stock status before the click
The demotion only works if shoppers are not surprised. Show availability on the product card itself: a clear out-of-stock badge, not fine print. In search results, this prevents the click-then-disappointment loop that erodes trust in your search. On the product page, replace the buy button with a back-in-stock notification signup and show the closest available alternatives above the fold. Every out-of-stock pageview is a demand signal; capture it with the notification signup instead of wasting it on a dead end.
What to measure
Track three things. First, the restock recovery: how fast does the product regain its ranking after restock, compared to products you hid entirely. Second, the substitution rate: what share of out-of-stock pageviews convert on an alternative product. Third, notification signup conversion: the shoppers who ask to be told are your highest-intent audience. If substitution is low and signups are high, your alternatives are wrong, not your ranking. Tune the alternative logic before you touch the demotion strength.
Frequently asked questions
Should out-of-stock products appear in site search?
Yes, but demoted and clearly badged. Site search is where intent is strongest; hiding the product there just sends the shopper to Google, where a competitor's in-stock listing is one click away.
What about products that will never restock?
Discontinued products are different: redirect them to the closest live alternative or the parent collection, and remove them from rankings entirely. Keeping dead products visible is clutter, not SEO strategy.
Does this hurt page experience metrics?
Only if the out-of-stock page is a dead end. A page with clear status, alternatives, and a notification signup is a good experience. A page with a buy button that errors at checkout is the thing that hurts.
Frequently asked questions
Does showing clearance hurt SEO?
Not directly, but thin clearance pages with constantly changing inventory can create crawl and indexation noise. Keep clearance behind faceted filters or a dedicated section with stable URLs, and make sure discontinued clearance products redirect to relevant live products instead of 404ing.
How do we keep clearance from training customers to wait for sales?
Limit the visibility of clearance to deal-intent contexts, keep full-price storytelling strong for new visitors, and avoid predictable sale cadences. The training effect comes from shoppers learning that waiting always pays; unpredictability in what goes on clearance and when breaks the pattern.
Should clearance products get personalization boosts?
Treat the clearance flag as one signal among many, not a master switch. A personalization model that learns clearance converts will eventually recommend nothing but clearance, which is the algorithm discovering the margin trap for you. Constrain the model with margin-aware objectives or position caps for discounted items.