WooCommerce Shortcode to display sale products

To display sale products in woocommerce, you can simply use below shortcode.

Shortcode:

[sale_products]

if you want use shortcode in your theme file then simply you can use do_shortcode() function to display shortcode.

Shortcode to display sale products by category, order by title, order ASC and limit 10:

Cheers 🙂

Gaurav Kumar

Hi, my name is Gaurav Kumar and I specialize in the Computer Software industry. I have been working as a Software Developer, and it's my passion to learn new things and sharing what I've learned.

Leave a Reply

Your email address will not be published. Required fields are marked *