In this article:

How to Hide Out-of-Stock Products in Your Shopify Store

May 8, 2024

If your store has been selling a lot of products lately, you might find yourself selling all your inventory before you can restock them in time. Or, you might find that a certain item is already phased out and will no longer be produced. For that, you would want to hide those products from your Shopify store.

Hiding Out-of-Stock Products in the Main Catalog

To gain control of the items visible to your main catalog, you need to access of the main catalog of your store. After that, you can follow these steps:

Step 1: On the admin page of your Shopify store, go to Products, then click on Collections. You will see this screen. Click on the Create collection on upper right of your collections list:

Step 2: Name your collection All. You can add an optional description. 

Create collection. Title and Description

Step 3: Below the box for Collection Title and Description, there is a box asking you how to add products to the collection. There are two options:

  • Manual: you will have to add products one-by-one to the collection. This allows you control on the available products in your store. The drawback is if you have a large selection of products, you will have to add new ones or remove the unavailable ones one-by-one.
  • Automated: this allows you to automatically update the collection depending on changes in certain information about the products. The most commonly-used information is the stock in inventory. 

Whichever you choose, take note that you cannot easily convert a manual collection to an automated collection, and vice versa. You will have to create a new one from scratch, and then copy the contents of one collection to it.

Now let’s say you want to have the main catalog display only the items available in the inventory. Select Automated, and then set the condition that the Products must match all conditions. On the drop-down box, select Inventory stock, and then specify greater than 0, just like on below:

Collection type. Automated. Condition: Inventory stock is greater than 0

Step 4: Click Save on the upper right corner. 

You have now replaced your main catalog with a collection showing only the available products:

Store with sold out products hidden

...But, I Want the Unavailable Items Back in the Main Catalog!

There is an easy hack for unhiding the products from the last step. Simply change the condition in the collection to Product price is greater than -1. 

Product price is greater than -1. Probably a glitch but it works.

Get Google Sheets productivity and automation tips delivered straight to your inbox
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
We'll email you 1-3 times a week — and never share your information.
Get your copy of our free Google Sheets automation guide!
  • 27 pages of Google Sheets tips and tricks to save time
  • Covers pivot tables and other advanced topics
  • 100% free

Work less, automate more!

Use Lido to connect your spreadsheets to email, Slack, calendars, and more to automate data transfers and eliminate manual copying and pasting. View all use cases ->