Hi There
Our client has requested that we hide out of stock items from the product recommendations section - they don’t want to hide them from the store, they just don’t want them showing as recommendations…
Is there anyway to do this on the recommendations for loop? I don’t want to just if inventory<=1 hide it as they won’t want a blank cell - ideally want to just run a for loop and only output in-stock items?
I’ve googled and all it I’m getting is how to set a product out of stock via the admin panel…
Sean