shopify out of stock products

Shopify out of stock products: hide them, keep them, or keep selling

Decide what happens when a Shopify product sells out: hide it with an automated collection, keep selling with honest dates, and avoid oversells.

Key takeaways

  • Out of stock is a per-product decision with three options: hide it from collections, leave the page up as sold out, or keep selling with a stated ship date.
  • To hide sold-out products, turn on inventory tracking, then add the condition Inventory stock is greater than 0 to each automated collection and set Products must match to all conditions.
  • Continue selling when out of stock lives in the Inventory section of the product or variant, and it does not apply to Shopify POS orders.
  • Never delete a sold-out product that is coming back: the page keeps its links and rankings, and a deleted one turns into a 404.
  • If a product shows sold out online while one location has stock, check whether that location fulfills online orders.

The three things a sold-out product can do

When a product hits zero, Shopify does whatever your settings tell it to. The default is to show it as sold out and stop taking orders. That is fine for some products and costly for others, so pick on purpose.

  • Hide it from collections, so shoppers only browse what they can buy.
  • Keep it visible as sold out, so the page keeps ranking and shoppers can see it exists.
  • Keep selling with a clear ship date, because you know stock is on the way.

The right choice depends on whether the product is coming back and how soon. The rest of this post covers the settings for each, and the traps.

Step zero: turn on inventory tracking

Every option below needs Inventory tracked switched on for the product. Without it Shopify never knows the count hit zero, and the product stays buyable forever. Open the product in your admin, go to the Inventory section and confirm tracking is on for each variant.

Then check the count itself. If you have several locations, a product can read as out of stock online when the locations that fulfill online orders are at zero, even if a shop or storage location has units. Per Shopify, the fix is to add stock to a fulfilling location. This is the most common reason merchants say "it says sold out but I have 40 in the back."

Hide sold-out products from collections

Shopify's own method uses automated collections. It does not unpublish the product. The product page still works by direct link. It just drops out of the collection grid.

  1. Make sure inventory tracking is on (above).
  2. Go to Collections in your admin and open an automated collection.
  3. Add the condition Inventory stock is greater than 0.
  4. Set Products must match to all conditions.
  5. Save, and repeat for each automated collection you want cleaned up.

Two details trip people up. First, Shopify states the method does not work if Products must match is set to any condition. Second, products reappear automatically once you receive inventory, so you do not need to remember to restore them.

The default /collections/all catalog page is a special case. Shopify says to override it with a collection of your own first, then apply the same condition to that collection.

Manual collections do not use conditions, so this will not clean them up. Either convert the collection to automated or accept that sold-out items stay visible there. Shopify also points to inventory apps and Shopify Flow as alternatives if you would rather automate it another way.

When to leave the page up as sold out

Hiding is wrong for products that sell out and return: a seasonal bestseller, a limited run you restock, a core item with a supplier delay. The page has links pointing at it, reviews on it, and possibly a ranking. Take it out of every grid and shoppers who arrive from search or an old email still land on it, but nobody inside the store can find it.

For these, leave the product in collections and make the sold-out page do some work:

  • Say when it returns, in the product description, if you have a real date. A vague "coming soon" loses the sale. A date lets the shopper decide.
  • Point to the closest in-stock alternative, in a sentence with a link.
  • Make sure the page reports the product as unavailable rather than hiding that fact. Our structured data lesson covers why the details on the page and in the markup have to agree, and the Shopify SEO check shows what a crawler reads.

Never delete a product that is returning. A deleted product is a 404 until you rebuild it, and rebuilding loses the old URL history unless you are careful. If something is gone for good, follow the steps in Shopify 404 redirects and send the old URL somewhere useful.

Continue selling when out of stock

If stock is on the way, you can take orders at zero. Open the product or variant, go to the Inventory section and select Continue selling when out of stock. It is only available when Inventory tracked is on.

It is a cash-flow tool, and it can also turn into a refund queue. Use it only when you can answer yes to all three:

  1. You have a confirmed restock date from the supplier, not a hope.
  2. You can ship the backordered units on a date you state on the product page.
  3. You are fine with the shopper receiving this order after others who ordered when stock existed.

Say the ship date where the decision happens: the product page and the shipping policy. If a shopper is buying a gift, an honest "ships December 8" beats a surprise. Cross-check it against your holiday cutoff dates, because a backorder that ships after your last safe order date is a gift that arrives late.

One limit from Shopify's documentation: the option does not apply to orders in Shopify POS. Staff can still sell at zero or below, but POS shows a warning before they sell an unavailable item. If you sell in person and online from the same stock, someone has to own that count.

A fast way to decide, product by product

Run through your top sellers and bucket each one.

SituationDo this
Discontinued, no returnHide via the collection condition, then redirect the URL once the page has no traffic
Returning in weeks, date unknownLeave visible as sold out, link an alternative
Returning on a confirmed date you can meetContinue selling, state the ship date
Variant sold out, others in stockLeave the product live, the variant shows unavailable
Stock exists but shows sold outCheck which location fulfills online orders

An example: a store has a candle that sells out and a supplier confirms a December 8 delivery. The owner turns on Continue selling, adds "Ships December 8" to the page, and records it in the shipping notes. A discontinued scent from last season goes into the hidden bucket, so the grid shows only things a shopper can buy today.

What to check after you change anything

  • Open a collection on your phone and confirm sold-out items are gone (or present) as you intended.
  • Open a direct link to a hidden product. It should still load.
  • Add a zero-stock product with Continue selling on to the cart and check that the ship date is visible before checkout.
  • Look at any collection where Products must match is set to any condition. The hide rule will silently not work there.
  • Run a test order from a product with inventory at one unit, and confirm the count reaches zero and the collection updates.

Do this before the next traffic spike, not during it. Sell-outs are most common when traffic is highest, which is exactly when an oversell is hardest to fix by hand.

Shopify questions

How do I hide out of stock products on Shopify?

Turn on inventory tracking, then edit each automated collection and add the condition Inventory stock is greater than 0, with Products must match set to all conditions. Products reappear in the collection once you receive stock.

Why does my product show sold out when I have stock?

With several locations, an item shows as out of stock online if the locations that fulfill online orders are at zero, even when another location has stock. Add or move inventory to a fulfilling location.

Does Continue selling when out of stock work in Shopify POS?

No. Per Shopify, the option does not apply to POS orders. Staff can still sell at zero or below, but POS warns them before they sell an unavailable item.

Should I delete a sold-out product?

Not if it is coming back. Keep the page live so its links and rankings survive. If it is gone for good, redirect it instead of leaving a 404.

Does Inventory stock hiding work on the All products page?

Not directly. Shopify says to override the default catalog page with your own collection first, then set the same condition on that collection.