Posts by Paulo Júnior • 1 point
1 post
-
0
votes2
answers169
viewsA: Check if there are products on sale in Wordpress with Woocoomerce
Exactly, and in a slightly more simplified way I think it could look like this: if(woo_have_onsale_products()) { echo do_shortcode('[products limit="4" class="teste" columns="4" orderby="popularity"…