Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Sell Out of stock items and still allow filtering of in stock items

Sell Out of stock items and still allow filtering of in stock items

TimW9
Visitor
2 0 1

We sell products that are in stock (fast delivery) and out of stock (longer delivery). We want customers to be able to filter on only items that are "in stock". We have tried the new search and recommendation app from Shopify but the availability filter only works if you specify that out of stock products are not available for sale (not what we want). Any ideas on this would be much appreciated. Thank you

Replies 9 (9)

Woody_JEKCA
New Member
11 0 0

Hi, we have the exact same issue. Did you figure out how to do so?

Pontemshop
Visitor
1 0 0

Hi There - we didn't really solve it but came up with a work around that is not ideal but works for now. We created a collection where inventory > 0 and then created a page which only shows items in this collection - we show this as a quick ship page. In addition we could create a metafield based on this In Stock collection and feel we should be able to create a filter from the metafield but it is not allowing it. Please let me know if you solve it further. Thanks.

Woody_JEKCA
New Member
11 0 0

Hi,

 

Thank you for your reply. I thought of this workaround as well but it is not ideal. Putting everything into 1 collection is not the way we want to show customers which items are in stock. Basically we would like to have the following functions:

 

1. Showing "Pre-order" button instead of "Add to cart" when the inventory level in our primary location is 0.

 

2. Having a filter of the availability in collection pages and search pages.

However, it seems all apps which are capable to do 1. need to enable "Continue selling when out of stock", which affects 2. as the official Shopify filter app considers an item is "in stock" if it is enabled.

TimW9
Visitor
2 0 1
Totally agree – that’s what we wanted as well. I am surprised that I can add the “In Stock” collection to a metafield but am then not able to create a filter from the metafield.
Shoply
Shopify Partner
9 0 0

Hi,

did you find a solution?

Nancy_Drake
Shopify Partner
194 11 21

Hi @TimW9 

Do you want to show both in stock and out of stock items on your site but display only in stock products when users apply the filters? I think the AI Search & Product Filter has the feature to hide unavailable items when filter is selected. This removes the necessity for users to manually toggle the 'In stock' filter, thereby refining the process and augmenting the UI/UX experience through simplified user interactions.

AI Search & Product Filter | SB - Check out our Shopify search and filter app to drive more sales
Otsche1g
Tourist
17 0 0

Is there any other way? Can someone tell me in which file I can change the code of the default filter availability (Dawn Theme)? It just needs to remove the sell-continue field from the conditions.

Gchat
Visitor
1 0 0

I'm also struggling with this. I'm guessing that nobody has found a solution yet?

Shoply
Shopify Partner
9 0 0

I have created via. API, which sets a corresponding meta field if the goods can be ordered. This means that I no longer filter by stock level but by what is in this field. That was the only solution I found. The field is updated every 15 minutes.