hello
in every page footer we have “on sale” and “featured products” that display 4 product each (the last added I think)
it would be much more useful if they could alternate randomly
Do you have a ready made function for that purpose?
Thank you Mauro
Hey Mauro,
Please find WooCommerce shortcodes here – https://docs.woocommerce.com/document/woocommerce-shortcodes/. You can use “rand” option on “orderby” attribute to display random products on page load.
Best regards,
Yigit
Hello Yigit,
I am asking about “Featured Products” and “On sale” product widget. I see now that there is the option “Random” in “Order by” dropdown menu.
Thank you
Hi,
Did you need additional help, or did Yigits answer solve this? Be aware that you can use the shortcodes within the footer widget.
Best regards,
Jordan Shannon
It’s solved thank you