Hide unavailable products

You can use automated collections to hide out-of-stock products from your customers. You can do this manually on the Collections page of your Shopify admin, or use an inventory management app to do it for you.

You might also want to hide products in your store's default Catalog collection.

Hide out-of-stock products from your collections

Before you can hide out-of-stock products from your collections, you need to enable inventory tracking in your Shopify admin. Inventory tracking automatically keeps track of the inventory level of each product that you carry.

To hide out-of-stock products from your collections:

  1. Enable inventory tracking for your products.

  2. Change the automated collection conditions for each of your collections, and add the following conditions:

    • For Products must match, select all conditions.
    • For Inventory stock, select is greater than and 0.

All conditions

This will make sure that your automated collections don't contain any products that are out of stock, and that those products won't appear to your customers. Any out-of-stock products will appear in your collections again after you've received inventory.

Note

This solution for hiding out-of-stock products won't work if you set Products must match to any condition.

Use an inventory management app

If you don't want to change your automated collections so that out-of-stock products are hidden, then you can try using an inventory management app from the Shopify App Store instead. These apps can automatically hide or delete products from your store when they're out of stock.

Hide products in your default Catalog collection

By default, your store comes with a collection that shows all your visible products at the URL your-store.myshopify.com/collections/all. To hide out-of-stock products from this collection:

  1. Take control of your Catalog page by overriding it with your own automated collection.
  2. Set the automated conditions of that collection to hide out-of-stock products.

Want to discuss this page?

Visit the Shopify Community

Ready to start selling online with Shopify?

Try it free