Hello, I use the plugin WooCommerce Google Product Feed by Ademti.
The woodmart theme has the option to show only variations on the shop page excluding the main parent product. I activated this option because to show the different product variations on the shop page is crucial for our business. And if we show all product variants on the shop page, we have to hide the parent products (so that we don’t show everything twice). Unfortunately hiding the parent products causes that there are no variable products shown in the product feed. I contacted the Ademti support for help and this is the information I got:
“… the issue is that the Woodmart code is filtering all queries indiscriminately, and not targeting just those for the main shop pages. Specifically, the filtering they’re doing on the posts_clauses, and pre_get_posts should check $query->is_main_query() before deciding to make any changes. I’d suggest reaching out to the developer of the theme and ask them to resolve that – it should be fairly straightforward I would have thought.”
Could you please solve this – or recommend me a Google product feed plugin that works fine with the woodmart theme and product variations.
Best regards!