Looper - Products in stock

Good Morning!

I have set up a Looper to display products. My goal is to only show products that are IN STOCK. (I’m using Woocommerce.) How can I accomplish this, please?

Hello @capodanno,

Thanks for writing to us,

It would require some custom query development for that you need looper type as custom. Please have a look at our looper doc.

You may also check this thread as a reference for the custom query development in the looper.


Hope it helps
Thanks

I found a work-around that wasn’t quite so complex. (I used a little plugin that adds any sold out product to a category, and I’m using the Query Builder to exclude that category.)

Now I’m needing to add this Looper that I’ve created to all my Woocommerce Single Product Pages. I’ve asked about that in a separate topic.

Thanks!

You are most welcome.
By the way, the other topic has been responded to already.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.