PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Loads all the products

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hi
I am using the free version of the plugin. It worked from the beginning but now, when clicking a category, the filter doesn't work. All the products are loading again.

I have deleted plugins, changed the settings, tried to find what is causing this problem - but I can't find anything.

What to do?

Regards Malin

Hello Malin

Please  drop me  exact  link to the  issue

You find the development site here: https://dev.attico.se/bageri/vara-produkter/

Hello Malin

My test - https://c2n.me/4jqEnx1 - Filtering seems to be working correctly

Hello

Well - you get the wrong result after filtering. It loads all the products. For example: if you click on 'Tårtor' it should only show 8 cakes.

Please  try to  use  this  code - https://products-filter.com/make-page-builders-and-custom-template-filterable

Finally! Thank you for your time and support. This code did the trick! :)

Hello

Great!  Welcome;)

Hi again

I used your code to make the plugin works with Divi. But I have deleted the code because it breaks the admin product search. Even the search function on the product page doesn't work when the code is implemented. Do you have any other solution for my problem?

Hello

Try  to use  this  code:

add_action('pre_get_posts', function ($query) {
if (is_object($query) AND isset($query->query['post_type']) AND !is_admin()) {
if ($query->query['post_type'] === 'product' /* AND is_page(1867) */) {
if (isset($query->query['wc_query']) AND 'product_query' == $query->query['wc_query']) {
return $query;
}

global $WOOF;
if (is_object($WOOF) AND !empty(woof()->get_request_data())) {
woof()->woof_products_ids_prediction(true);
$query->query_vars['post__in'] = $_REQUEST['woof_wp_query_ids'];
}
}
}

return $query;
});

The new code should not affect search in the admin panel

Hi and sorry for the late reply. I didn't get any notice about your answer.

Thank you for this! Now it works perfectly!

Great!  Welcome;)