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

WOOF - WooCommerce Products Filter on vendors wcfm

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.

Hello,

I use wcfm plugin marketplace.

The problem was when i filter the page all products from all sellers are displayed.

 

 

So I search and I use this functions :

https://products-filter.com/manipulate-search-data-options/

add_filter('woof_get_request_data', 'my_woof_get_request_data');

function my_woof_get_request_data($request)
{
$request['woof_author'] = '52,6,3,12';
return $request;
}

52,6,3,12 is my id vendors

But now i have no result when i use the filters.

https://igosen.fr/vendeurs/batota/?swoof=1&woof_author=52,6,3,12&orderby=popularity&paged=1

However when I refresh the result is good but only when I refresh

 

https://igosen.fr/vendeurs/batota/?swoof=1&woof_author=52%2C6%2C3%2C12&orderby=popularity

Is there a way to filter only products from sellers when someone is on the page.
Do you have an idea?
Thanks a lot

Hello

What plugin version number are you using?

Please  disable  Turbo mode  and  do a test

Hello,

I use v.3.3.0.

I disable Turbo mode but all products appear.

Like this

I test this functions

add_filter('woof_get_request_data', 'my_woof_get_request_data');

function my_woof_get_request_data($request)
{
$request['woof_author'] = '52,6,3,12';
return $request;
}
And

if (is_front_page())
{
    add_filter('woof_get_request_data', 'my_woof_get_request_data');
}

function my_woof_get_request_data($request)
{
$request['woof_author'] = '52,6,3,12';
    return $request;
}
The result is the same.

Hello

Please paste your license key here - https://share.pluginus.net/image/i20210618130558.png -> https://share.pluginus.net/image/i20210618130614.png and  wp-admin access - https://share.pluginus.net/image/i20210618130637.png

Hello,
It's done.
Thank you

wp-admin  access? - https://share.pluginus.net/image/i20210618130558.png -> https://share.pluginus.net/image/i20210618130637.png

It's done.

hello

You turned off filtering by author.

Please  do a test

I checked everything works correctly. You have only 8 products and 4 vendors. All these products belong to these vendors, you have added all these vendors to the filter