In this article:

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

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.


Automate repetitive tasks with Lido

Save hours on repetitive and tedious work. Lido is a new spreadsheet that connects your spreadsheets, forms, PDFs, and email inbox.

Trigger
Action
Select trigger
When a cell value in Google Sheets changes
Check Google Sheets for today's date
When a new row is added to Google Sheets
On new Google Form submission
Send me a daily reminder
On new Typeform submission
When a cell value in database changes
Check database for today's date
When a new row is added in database
When a new HubSpot customer is created
Select action
ADDCALENDAREVENT
Creates a one- or multiple-day calendar event with optional attendees
ADDHUBSPOT
Adds an object to Hubspot
ADDSLACKCHANNEL
Create a Slack channel, and optionally add a topic or members
CALLURL
Makes any HTTP request
CREATEGOOGLEDOC
Replaces [@column_name] values in a Google Doc with the corresponding table row's values
CREATEPDF
Replaces [@column_name] values in a Google Doc with the corresponding table row's values, then export it as a PDF
FETCH
Makes any HTTP request and returns the response
INSERTROWS
Inserts given array below defined values in given worksheet
SENDGMAIL
Sends an email using your Google account
SENDOUTLOOK
Sends an email using your Microsoft Outlook account
SENDSLACK
Sends a Slack message
SENDSMS
Sends an SMS message using your Twilio account
UPDATECELL
Updates cells with given values
UPDATEHUBSPOT
Updates a property of a Hubspot object
Trigger is required
Action is required
Get started