All Collections
Filter Menu
Adding and setting up filters
How can I add filters for "in stock" or "out of stock" items
How can I add filters for "in stock" or "out of stock" items

Learn how to add inventory based filters in the Filter Menu

Chris Durkan avatar
Written by Chris Durkan
Updated over a week ago

There is no direct way to set up inventory based filters in the Filter Menu. But it can be done!
โ€‹
First you will need to set up one new smart collection in your Shopify admin. This will be your "In Stock" collection.

In your Shopify admin click on "Products" and then "Collections"

Create a new smart collection by clicking the "Create Collection" button.

To create an "In Stock" collection. You can set the collection condition to "Inventory stock is greater than 0". Then click the "Save" button in the top right of the screen.

To create an "Out of Stock" collection. You will need to use the "Smarter Collections" feature in Power Tools.

Navigate to the Filter Menu or Power Tools Suite app in your store, select "Collections" in the app sidebar and then click the "New Collection" button.

Next, we just need to make sure the "Collection Type" is set to "Smarter", and give the new collection a title and handle. Then click the button to create the collection.

Now we can use the search function in the browser (Crtl+F on Windows, Cmd+F on Mac) to find the newly created collection, and then click on "Products" to edit the rules.

The rules we want to add here are:

  • Include Collections: "All"

  • Exclude Collections: "In Stock"

Then click "Save"

And that's it! These collections will be updated every time Power Tools runs an update on your store

You can then add these new collections as filters in the Filter Menu, in the app click on the "New Filter Group" button.

Then select "Collections" as the type of filter you want to create. Then click the "Create Filter Group" button.

Now you can search for and add the two new collections you just created, click on them to move them from the left box to the right box, and then click "Add Filters"

The app may ask you for confirmation to "Sync tags" with the items in the collections, this is required before the filters can be shown on your store, syncing tags will add a tag that matches the collection handle to all items in the collection, and remove that tag from any items that are not in the collection. You can click the "Sync Tags" or "Accept All - Sync tags with collection" buttons to allow the app to run this job.

Once you're done, click the "Save & Update" in the top right of the page.


If you have any additional questions, please contact support through the live chat in the app, or at support@powertoolsapp.com

Did this answer your question?