Bug in pre_get_posts function
-
I found a bug in the plugin that causes sorting by products in a category not to work on the website.
In the file rearrange-woocommerce-products.php on line 393 is says:
if (is_tax('product_cat') && $query->is_main_query() && !is_admin()) {
But this is not working. I can fix this issue by replacing this line with:
if (is_tax('product_cat') && !is_admin()) {
Is this maybe something you can look into? Because I see a few topics that also mention this issue.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.