A customer Googles your product, clicks the link, and lands on a 404 page. That sale is gone. So is every bit of SEO value that URL spent months earning. Hiding out-of-stock products on Shopify sounds simple until you realize Shopify's default approach is basically "delete it and hope nobody notices."

There is a better way. Two better ways, actually. Here they are.

🎯 Quick Summary

  • Auto-hide products the second they sell out, and auto-restore them when stock returns.
  • One scan hides everything already sold out right after install. No waiting.
  • 301 redirects (Pro plan) keep your SEO intact so Google never sees a 404.
  • Free plan covers up to 50 orders per month. No credit card needed to start.

⚡ Auto-Hide Shopify Out-of-Stock Products in Real Time

When the last unit of a product sells, that product should vanish from your store within seconds. Not hours. Not "whenever you remember to log in." Seconds.

The quiet cost: every sold-out product left sitting in your collections looks broken to shoppers and erodes their trust. Worse, if you unpublish it manually without a redirect, your Shopify SEO takes a direct hit the moment that URL starts returning a 404.

You can use Shopify Flow for this. But you need two separate workflows: one to unpublish the product at zero inventory, and one to republish it when stock returns. Merchants routinely build only the first half and then wonder why restocked products never come back. (Spoiler: they set up the trap and forgot the exit.)

Hide Out of Stock wires both halves together from day one. It listens to Shopify's inventory and product webhooks in real time. Every variant hits zero, the product is set to Draft. Any variant gets stock, it is set back to Active. Products tagged with "pre-order" or "coming-soon" are excluded automatically, so your pre-order products stay visible while everything else disappears on cue.

Before and after of a Shopify collection with out-of-stock products hidden automatically
Left: the graveyard of sold-out listings. Right: a collection that actually converts.

🔍 One-Click Scan for Everything Already Sold Out

Real-time watching is great for new sellouts. But your catalog right now is full of products that sold out last week, last month, or last season. Those are sitting there doing nothing useful except annoying your shoppers.

Right after install, run the full catalog scan. One click. The app pages through your entire product list and hides everything currently out of stock. No waiting for the next sale to trigger anything. No going through products one by one.

Hide Out of Stock dashboard showing auto-hidden Shopify products and live activity
The live activity feed. Watching sold-out clutter disappear is oddly satisfying.

The dashboard shows a live activity feed with 7-day and 30-day counts, and you can export a CSV of everything currently hidden. If you also want to stop sold-out products from floating to the top of your collections in the meantime, here is how to stop out-of-stock products from showing at the top of a Shopify collection.

How Hide Out of Stock works

🔍

First scan

One click paginates your whole catalog and hides everything already out of stock.

Webhooks fire

Real-time inventory listeners catch every sellout within seconds.

🔄

Auto-restore

Stock comes back, product goes Active again. No manual step required.

📅

Daily safety net

A cron job re-checks every hidden product once a day in case a webhook was missed.

Hide Out of Stock icon

Hide sold-out products on autopilot

Real-time auto-hide, instant restore on restock, and a one-click catalog scan to clean up your store right now. Free up to 50 orders per month.

Try Hide Out of Stock for free →

Everything you get, at a glance:

  • Hides within seconds of the last variant selling out
  • Restores automatically the moment any variant is back in stock
  • One-click catalog scan cleans up everything already sold out
  • 301 redirects (Pro) keep Google from ever seeing a 404
  • Tag exclusions protect pre-order and coming-soon products
  • Scope to specific collections or run it store-wide
  • Only touches what it hid. Your manually drafted products stay put.
  • CSV export so you always know exactly what is hidden
Hide Out of Stock dashboard on mobile tracking hidden Shopify products
Inventory problems do not wait for you to be at a desk. Neither does this dashboard.

🚀 Why This Is Worth Your Attention

Every sold-out product with no redirect is a 404 quietly erasing months of SEO work. Every restocked product that never came back is a sale your store silently missed. These are not edge cases. They happen to every store, constantly.

If you want to hide out-of-stock products on Shopify without losing your search rankings, you need either multiple Shopify Flow workflows (and the discipline to build both halves) or a dedicated app that handles the whole cycle. That is a lot of "ifs" for a problem with a five-minute fix.

Hide Out of Stock is free for up to 50 orders per month. It does not ask for your credit card. It hides the mess, keeps the SEO intact, and brings products back when they deserve to be back.

That is a lot of work for zero dollars and about the time it takes to brew a coffee.

Frequently Asked Questions ❓

The safest approach is to set the product to Draft and add a 301 redirect to a closely related collection page, so Google never sees a 404 and the URL's accumulated link equity is preserved. When the product restocks, the redirect is removed and the product is restored to Active. Hide Out of Stock handles all three steps automatically on the Pro plan.
For truly discontinued products, a 301 redirect to the most relevant collection page is better than keeping a dead listing live. It passes link equity and sends visitors somewhere useful. One important note: avoid redirecting to your homepage. Google treats homepage redirects from product URLs as soft 404s, which pass no equity and can quietly hurt your domain.
Yes, but you need two separate workflows: one to unpublish at zero inventory, and one to republish when stock returns. Most merchants only configure the first and are left with products that sell out, disappear, restock, and never come back. Hide Out of Stock handles both halves together, automatically, from the moment you install it.
Within seconds. The app listens to Shopify's real-time inventory and product webhooks. The moment every variant of a product hits zero, the product is set to Draft. There is no polling delay and no nightly sync to wait for.
Add a tag like pre-order or coming-soon to those products and set that tag as an exclusion inside Hide Out of Stock. Tagged products are never hidden, regardless of stock level. The app only ever hides what you tell it to.
Hide Out of Stock sets the product back to Active automatically. On the Pro plan, it also removes the 301 redirect at the same time, so the original URL resolves again and Google can re-index the page. The full cycle from sold-out to live again requires zero manual steps.
CW

CartWorksWe build Shopify apps that quietly make stores more money.

Try Hide Out of Stock for free →