Replies: 0
My Basic question is is there an equivalent to woocommerce_product_query that fires not only on the shop page, but on any arbitrary page with a [product] short code. I also have WOOF and ivory search installed. I specifically want to filter by post__in based on a comma separated list of product ids passed by environment variables. I have all those pieces solved but what action or filter to modify the query in.
I could not get the Kathy Is Awesome example of limiting post ids to work in my page. I was migrating an existing wordpress site and what I though was the shop page was actually just a page with the products short code like
php[ivory-search id="70292" title="Toolbox Home"] [woof] <div class="foo-container"> <div class="foo-browser"> [products paginate="true" limit="100" columns="1"] </div> </div>So once I realized the shop page was a special page that injects the product loop without a short code I went to that one and
woocommerce_product_queryactions did fire.