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

Page with selected filter

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,

Thanks for your amazing plugin !

I have a question :
I have a page with a shortcode to show only “on sale” products.
On the left column I have the woof code but the problem is filtering all the product on my website not only those ones you can see in this page.

So my question is :
Is it possible too make the woof code with filter onsale already selected ?

Thank you

Mat

Hello Mat

Please drop me exact link to the issue

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

It's on this page : https://www.objectif-boetie.fr/promotion/

Hello Mat

Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png

Update the plugin to latest version - https://products-filter.com/how-to-make-auto-update-for-wordpress-plugins-and-themes-bought-on-envato

Have you tried this solution? - https://products-filter.com/manipulate-search-data-options

Thanks for your answer.

I past this code with the extension snippets:

if (is_id="post-4550")
{
add_filter('woof_get_request_data', 'my_woof_get_request_data');
}
function my_woof_get_request_data($data){
$data['onsale']='onsale';
return $data;
}

 

But doesn't work

Hello

Please renew your support

try this:

add_filter('woof_get_request_data', 'my_woof_get_request_data');

function my_woof_get_request_data($data){

if (is_page(4550)) {

$data['onsales']='salesonly';

}
return $data;
}

 

 

Thanks a lot, it work perfectly !

Great! Welcome;)