Filter by size, shows items out of stock

katp
New Member
2 0 0

Hello, 

Would anyone be able to help with the following:

When filtering products by size, those that are out of stock, are also displayed. What is the best way to approach this?

Is there a code that could be inserted, so the items out of stock do not come up in the search?

We are using the latest Prestige theme. 

https://camillaelphick.com/collections/new-in/size_37?sort_by=manual

Many thanks in advance. 

 

Replies 3 (3)
DP_Development
Pathfinder
83 11 17

Hi there!

There is already a solution to hide all out of stock products automatically in the documentation. 

Hope this one helps: https://help.shopify.com/en/manual/products/inventory/hide-out-of-stock

Software Engineer and Frontend Developer
Fast, cheap and straightforward solutions! Shall I do this for you? Just send me a message!
Please click on like and "accepted solution" if my answer helped you.
katp
New Member
2 0 0
Hello,
Thank you very much for your quick response.
I have tried to follow the directions, and make sure that the conditions
within the collection is set to "meet all conditions" greater than 0
inventory, but it still shows the items out of stock in that size, when you
try to filter.
Could you please let me know what else can be done? or am I doing something
wrong?
Thank you,

Kateryna
DP_Development
Pathfinder
83 11 17

If you to this changes to a specific collection you get a preview of your products in your collection. Do sold out products appear in your preview?

Software Engineer and Frontend Developer
Fast, cheap and straightforward solutions! Shall I do this for you? Just send me a message!
Please click on like and "accepted solution" if my answer helped you.