Product Pages

Out-of-stock products: how to keep the sale (and your SEO)

What to do with a sold-out product page, how to catch the demand until the restock, and how to show low stock without crossing a line.

Nicolas Fradet

By Nicolas Fradet, founder of FunnelSpark · 16 years in CRO, 1,000+ A/B tests
Updated Nov 28, 2026 · 9 min read

Out of stock? Keep the sale: a sold-out product page done right, with sold-out sizes crossed out, a greyed-out Sold out button, a Notify me email signup and 3 similar products marked In stock

The short answer

Don't delete or hide a product that's only out of stock for a while. Keep the page live and mark it sold out, as Google recommends. Grey out the buy button, add a back-in-stock signup, show the restock date if you know it, and offer 2 or 3 close alternatives. Redirect only products gone for good.

What should you do with an out-of-stock product page?

An out-of-stock product has zero sellable inventory, for the whole product or for one size or color. Your best sellers sell out first, so your most visited pages are the ones most likely to show a dead end.

The right move depends on one question: is it coming back, and do you know when?

What to do with a sold-out product

Is it coming back?

Yes, and you know the date

Take back ordersKeep selling, label it "back order" and show the expected ship date next to the button.

Yes, but no date yet

Sold out + notify meGrey out the button, add a back-in-stock signup and show 2 or 3 close alternatives.

Seasonal or limited drop

Keep the page, build a waitlistLeave it live so it keeps its rankings, and collect emails for the next run.

No, it's gone for good

Redirect itSend the URL (301) to the closest replacement, or to its collection if there isn't one.

Only the last case should ever make a product page disappear. In the other 3, the page keeps working for you while the shelf is empty.

On Shopify, back orders and preorders use the "Continue selling when out of stock" setting on the product or variant. Shopify's help center notes it only works when inventory tracking is on, and lists preorders as a reason to use it. Turn it on only when you can promise a date, or a lost sale becomes a refund and a 1-star review.

Do out-of-stock products hurt SEO?

Not if you leave the page alone. What hurts is taking it down: a 404 throws away months of links and rankings for a problem that might last 3 weeks.

Google says this directly. In its Search Central guide to pausing an online business, Google answers whether you should remove out-of-stock products from search: "It's better to still allow that page, and mark it out of stock." In practice:

  • Keep the URL live and indexable. No noindex, no unpublishing, no redirect to the homepage.
  • Update the structured data. Google's merchant listing documentation supports availability values like OutOfStock, BackOrder, PreOrder and Discontinued. If your theme outputs product structured data, check it switches when stock hits zero.
  • Keep your Google Merchant Center feed in sync. Google's availability attribute rules say availability must match across your landing page, structured data, checkout and feed, and that "a mismatch in one of these will trigger a product disapproval." Back order and preorder pages must also show the expected shipping date.

One trap to brief your team on: Shopify Flow, which is free on the Basic, Grow, Advanced and Plus plans, comes with a template that hides products from the online store when they sell out. It's handy for one-off items. For a best seller that's coming back, it takes the page down, so leave it off.

For discontinued products, 301 redirect to the closest replacement. Not the homepage: a shopper who searched for a specific product and lands there just leaves.

What a stockout costs a $1.5M store

Let's put a number on it. Take a store doing about $1.5M a year: 60,000 sessions a month, a 2% conversion rate and a $105 average order. Its best seller gets 10% of all sessions and sells out for 3 weeks.

Worked example: one best seller, sold out for 3 weeks

StepMathResult
Sessions while sold out6,000 a month × 21/304,200
Normal orders (page converts at 4%)4,200 × 4%168
Revenue at risk168 × $105$17,640
Alternatives (1 in 4 would-be buyers picks one)168 × 25% × $105$4,410
Back-in-stock emails (5% sign up, 1 in 5 buys)4,200 × 5% × 20% × $105$4,410
Recovered (about half)$4,410 × 2$8,820

The 4% page conversion, 25%, 5% and 20% are our assumptions for the example, not benchmarks or test results. Swap in your own numbers from Shopify and your email app.

About $8,800 back from one stockout of one product. Most stores this size have several a year, usually on their best pages.

Back-in-stock notifications that bring buyers back

A back-in-stock notification turns "sold out" into "tell me when." The shopper leaves an email or phone number, and you message them the moment the item is back. It's one of the warmest messages you'll send: they already picked the product, size and color.

Black Rifle Coffee collection page with 4 coffee products: 3 have a yellow Add to cart button, and the sold-out Just Black Instant Coffee Sticks has a green Email when available button instead
Black Rifle Coffee swaps the add to cart button for "Email when available" on a sold-out product, right on the collection page.

You probably already have the tool. Klaviyo's back in stock flow works with Shopify and comes with an on-site signup form. A few settings matter more than the email design:

  • Restock minimum. Klaviyo lets you set how many units must be back before anyone is notified.
  • Batches. By default, Klaviyo notifies all subscribers at once. You can instead notify a set number of people per unit restocked, oldest signups first, so nobody clicks through to a page that's sold out again.
  • Physical stores. Klaviyo warns that with Shopify POS, the flow counts store inventory too. If your shops hold stock the website can't ship, online shoppers can get an email for stock they can't buy.
  • Smart Sending off. Klaviyo says to turn it off for this message so everyone who asked actually gets it.

Keep the email short: the exact variant they asked for, one button to that variant, and an honest note if quantities are limited. Add SMS if you have it, since restock alerts are time-sensitive. For the shoppers who browse and don't sign up, a browse abandonment email can point them to the alternatives instead.

Sold-out sizes and colors in the variant picker

Most stockouts are one size or one color, not a whole product. The page looks fine until the shopper taps their size.

KEEN Men's KS86 Leather Sneaker product page: price, rating, color swatches and a size grid where sizes 11.5, 14 and 15 are greyed out and a red Low Stock label shows for the selected size 9.5
KEEN greys out sold-out sizes (11.5, 14 and 15) instead of hiding them, and flags "Low Stock" for the selected size, 9.5.

Here's what to brief your developer or theme partner on:

  • Show sold-out options, don't hide them. Grey them out or cross them out. A missing size reads as "they don't make it in my size," and that shopper won't come back.
  • Make a sold-out option clickable. Tapping it should swap the add to cart button for "Notify me when it's back" for that exact size and color.
  • Never preselect a sold-out variant. Default to the first one in stock, or shoppers assume the whole product is gone.
  • Grey the buy button, don't remove it. A visibly disabled button with "Sold out" tells the shopper what happened. It also lines up with what Google Merchant Center accepts on an out-of-stock page.

Treat the sold-out state as part of the buy box design. More in our guide to the add to cart button.

Show alternatives before the shopper leaves

Shoppers who find an item out of stock are more flexible than you'd think. A Grocery Manufacturers Association report by Daniel Corsten and Thomas Gruen, covered by Retail Dive, found that when an item was out of stock online, 60% of US shoppers bought a substitute from the same store. 15% switched to another site, and about 15% put off or cancelled the purchase.

That was grocery, where substitutes are easy. In fashion or gear, make the substitute obvious:

  • Put alternatives near the top. A "similar items in stock" row under the buy box, not 4 scrolls down next to the footer.
  • Match on what made them pick it. Same style in another color, the same fit, the same price range. Shopify's Search & Discovery app lets you edit the related product suggestions on your product pages, so start with your best sellers.
  • Send sold-out items to the back of collections. Keep them listed with a clear "Sold out" badge, but don't let them fill the first row. Search & Discovery includes a standard Availability filter for every store, so shoppers can also hide them.

A clearly marked sold-out product isn't all bad news, either. Several of the 25 top stores we broke down use it as social proof: Hawthorne shows "Sold Out" badges next to "Best Seller" ones, and Kylie Cosmetics and Black Rifle Coffee mark out-of-stock items clearly on their collection pages. For more on earning that trust, see how to build trust with customers online.

Low-stock alerts: honest urgency only

The step before "sold out" is "almost sold out," and it's a real reason to buy today. 9 of the 25 top stores we broke down show stock, urgency or demand signals. KEEN shows "Low Stock" on the size you pick. Chewy and Cambridge Satchel go the other way and say "In stock" and "ready to dispatch," which removes a worry instead of adding pressure.

Chewy product page buy box with the price, a quantity picker, In Stock in green, free delivery with an arrival window, free 365-day returns and an orange Add to Cart button
Chewy puts "In Stock" and a delivery window right above the Add to Cart button.

The line not to cross: fake scarcity. The FTC's staff report Bringing Dark Patterns to Light lists the "false low stock message," saying inventory is low when it isn't, with the example "Only 1 left in stock – order soon," as a dark pattern. Fake "20 people are viewing this" messages are on the same list. So:

  • Pull the number from real inventory, at the variant level, never from a timer or a random number.
  • Pick a threshold that means something, like less than a week of normal sales. "Only 40 left" on a product that sells 3 a week isn't urgency.
  • Make it useful. "Low stock in size 9.5" helps the shopper decide. A flashing red banner on every product teaches them to ignore you.

On the merchant side, the same Shopify Flow templates can email your team when a variant runs low, so you can reorder before the page ever shows "sold out."

How to measure and test it

Start by sizing the problem. Export your out-of-stock products and variants from Shopify, then pull product page sessions for the same period from Shopify Analytics or GA4. Then track 4 numbers:

  • Share of product page sessions that land on a sold-out product or variant.
  • Back-in-stock signup rate on those pages (signups ÷ sessions).
  • Restock email conversion (orders ÷ emails sent), from your email app's flow report.
  • Revenue per visitor on sold-out pages, which captures the alternative sales too. It's the number we judge every test on. Here's why revenue per visitor beats conversion rate.

Then test the parts that are judgment calls. At FunnelSpark, an ecommerce CRO agency for Shopify stores, these are the tests we'd look at first on a store with frequent stockouts:

  • Alternatives right under the buy box vs lower on the page.
  • An inline email field vs a "Notify me" button that opens a form.
  • Sold-out products last in collections vs hidden from them.
  • A real low-stock message vs none, judged on revenue per visitor and returns, not only add to carts.

Sold-out traffic is a slice of your total, so check you have enough first. Our guide to ecommerce A/B testing has a sample size table. If the numbers are too small, make the change on your top 5 sold-out pages and compare before and after. Our product page optimization guide covers what else belongs on the page.

A note on Shopify plans: everything above works on any plan. The one place Plus matters is inside checkout. If you want to repeat a back-order ship date next to the pay button, custom text inside the checkout steps needs Shopify Plus. On other plans, show the date on the product page and in the cart.

If your store does $100k+ a year, or you run ecommerce in-house, and you want to know what your sold-out pages are costing you, book a free 30-minute call. We'll look at your numbers and show you where the biggest leaks are.

FAQ

Should I delete out-of-stock products on Shopify?

Not if they're coming back. Keep the page live, mark it sold out and add a back-in-stock signup. Only redirect a discontinued product, ideally to its closest replacement.

Do out-of-stock products hurt SEO?

Not by themselves. The damage comes from deleting or noindexing the page, or redirecting it somewhere unrelated, which throws away its rankings. Keep the URL live, update the availability in your structured data and Merchant Center feed, and keep the page useful with alternatives.

Should I hide out-of-stock products from collection pages?

Usually not. Move them to the end of the collection with a clear sold-out badge, and let shoppers filter them out. Hiding them removes a popularity signal and the restock signup.

How do I add a back in stock notification on Shopify?

Use your email platform's back-in-stock feature or a back-in-stock app. Klaviyo's back in stock flow works with Shopify and comes with an on-site form. Set a restock minimum, and notify in batches if you restock small quantities.

What's the difference between back order and preorder?

A back order is for a product you've sold before that's temporarily out of stock. A preorder is for a new product that hasn't been released yet. Google Merchant Center uses the same split, and both need the expected shipping date shown on the product page.

Nicolas Fradet

Written by

Nicolas Fradet

Nicolas is the founder of FunnelSpark, an ecommerce CRO agency. He has spent 16 years finding out why shoppers don't buy, with 1,000+ A/B tests run and a 37% win rate. He wrote Stop Guessing. Start Converting.

Follow Nicolas on LinkedIn →

Want us to find what's stopping your shoppers?

On a free 30-minute call, Nicolas looks at your store and shows you 3 growth opportunities, whether we work together or not.

Book your free call