Oops, mispelled my request.
Actually, what I want is to be able to display on a page all (and only) purchasable products.
I already have a Products (produits) page with custom code to filter by prod categories : https://dev.canardgoulu.com/produits-goulu/
My client want to have another page called Online store displaying only purchasable products with custom categories code still working.
I’m not sure how to exlude non-purchasable products from my custom code snippet : https://gist.github.com/alexgauvin/db3ba30443138d2411fcf580aed948a3
Thanks for any help
Hi Pictogram,
Hopefully this hook should help to target only purchasable or non-purchasable products: https://stackoverflow.com/a/41918233/9426620
Other than that, I can add a meta value to the non-purchasable products in the next release if it would help for a wp_query?
Thanks a lot,
I’ll try something with 1st option.