Filter by inventory stock?

Solved

Filter by inventory stock?

TorwoodGC
Excursionist
29 0 19

I would like to be able to filter the products page by items with zero inventory.

I can add filters, however Inventory Stock is not one of them.

Is this possible in Shopify, or do i need to buy an add on?

 

Thanks

Accepted Solution (1)

Summer
Shopify Staff
1420 324 256

This is an accepted solution.

Hey, @TorwoodGC

 

I'd love to help you with your question about filtering the product page. Are you referring to the product page in the admin? Or is it the customer-facing product page on your website? 

 

If you're referring to the admin, it's not possible to set an inventory filter in the Products page, however, you can make use of the sort function to group products with the same inventory level together. You can refer to the screenshot below to access the sort function and sort products by inventory.

 

 

If you're referring to your storefront, the ability to filter products by inventory depends on the theme you're using. If it's not available in your theme, you have the option to use an app to allow customers to filter products by inventory. You can check out the following apps for this:

 

 

If you have questions about any of these apps, feel free to contact the app support team or app developer for assistance. You can find their contact information under the Support section in each app listing.

 

I hope this answers your concern. If you have additional questions, please don't hesitate to share them here and we'll be happy to assist you further!

Summer | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

View solution in original post

Replies 4 (4)

DeepVyas
Shopify Partner
776 10 8

Yes its possible but on pagination filters don't works. 

Shopify Developer | Ⓢ : deepvyas71 | ✉ : deepvyas71@gmail.com

Summer
Shopify Staff
1420 324 256

This is an accepted solution.

Hey, @TorwoodGC

 

I'd love to help you with your question about filtering the product page. Are you referring to the product page in the admin? Or is it the customer-facing product page on your website? 

 

If you're referring to the admin, it's not possible to set an inventory filter in the Products page, however, you can make use of the sort function to group products with the same inventory level together. You can refer to the screenshot below to access the sort function and sort products by inventory.

 

 

If you're referring to your storefront, the ability to filter products by inventory depends on the theme you're using. If it's not available in your theme, you have the option to use an app to allow customers to filter products by inventory. You can check out the following apps for this:

 

 

If you have questions about any of these apps, feel free to contact the app support team or app developer for assistance. You can find their contact information under the Support section in each app listing.

 

I hope this answers your concern. If you have additional questions, please don't hesitate to share them here and we'll be happy to assist you further!

Summer | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

TorwoodGC
Excursionist
29 0 19

Hi Summer,

Thanks for your help.

This isn't exactly what I wanted, however, it is much better than any other option that I have found.

RetroShirtsMan
Excursionist
25 1 10

I can't believe that there is still no option to just hide products with quantity = 0 in the backend. The sorting really doesn't help, because a filter is just not the same as sorting. such a basic thing. 

 

If this feature is worth your time, this is how I was forced to do it:

  1. Create a new metafield of type "Single Line Text" (not working with integers!)
  2. Enable "Filter in product index" in the metafield settings
  3. Set the value to the current inventory quantity (can be populated automatically by importing data with matrixify or run a bulk job in arigato workflow)
  4. Done, you can filter by amount of inventory in the backend now

Depending on your Store, you can play around with the Task #3 and set the value to a string, like "zero inventory" or "available inventory" depending on the number. This way, you can set the filter by such simple dimensions instead of a lot of different numbers...

Still unbelievable such a basic thing is not part of the backend feature set.