Setup Filter: In Stock Only

Sauravb
Tourist
6 0 2

Hi,

I am using the Shopify Search and Discovery application, and have added a filter on my website that shows "in stock only" toggle in the filters. However when this is switched on, it shows items which have an inventory value lesser than 0 as they are marked as continue selling when out of stock as we accept pre orders. Is there any code that can be added so that when this option is toggled, only products with an inventory value of 1 and above are displayed?

I am using the Impact Theme and my website is Tabeer-homes.myshopify.com

Reply 1 (1)

TerenceKEANE
Shopify Partner
511 86 78

Hi!

 

It can be done with a custom solution. If I understand correctly, you want to hide 'pre orders' products when 'in stock only' is active?

 

Is there any tag or special text added to the product when it is a 'pre order'? If so, I think we can do this.

 

We need to catch it from somewhere.

 

Terence.

★ Looking for Dedicated Premium Coding Support? Join our unique "PREMIUM SUPPORT" service starting at 59 USD for 1 MONTH!
★ Get skilled Shopify developers at BUDGET-FRIENDLY RATES — explore Novajetsoft.com for a rapid quote!
If my support was a lifeline for you, The COFFEE  
would be the anchor keeping me steady!
★ For Quick response --> WhatsApp | Email --> info@novajetsoft.com | Software Engineer - Specializing In Advanced E-Commerce Websites