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

Shortcode for sales page

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! Could you please explain after putting $request['onsales'] = 'salesonly' in functions.php how the short code should look to show only on sales products?

Hello

Use  shortcode [woof_products]

Unfortunately it shows all the products in this case, is there a way to show ONLY the ones on Sale? Or maybe im doing something wrong. The page is set to 'Front Page'. the function.php is shown bellow. The short code as you said  [woof_products]. Here is the link to the website https://cuadro-nic.com/es/promociones
Hoping for your advise!

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

function my_woof_get_request_data($request)
{
$request['onsales'] = 'salesonly';
//$request['product_cat']='music,posters';
return $request;
}

Hello

https://cuadro-nic.com/es/promocion/This is not 'Front Page'.  Please  use  is_page() - https://developer.wordpress.org/reference/functions/is_page/