Using crafty demo content, adding a popular product seciton

Hi there, im using the crafty demo content, cuz its frickin awesome :slight_smile:

I wanted to duplicate the latest products section on the home page, and have it filter “popular products”

It has the css:

[products limit="8" columns="4" orderby="date" class="latest-products"]

How would I order it by popular products? by adding a tag or category to said products? or how?

Thanks.

Hello @logoglo,

Thanks for writing to us.

To display the popular product you need to use the shortcode

[products limit="4" columns="4" orderby="popularity" class="quick-sale" on_sale="true" ]

You can also check out the WooCommerce shortcodes for more information

Hope it helps
Thanks

Sorry, I read up on the shortcodes, thanks for the help! all good.

Hi @logoglo,

Glad that we are able to help you.

Thanks

Sorry to bug, is there a way to show categories using this method? I cant seam to find how on the link you sent.

Thanks.

Hello @logoglo,

You can use the Product Category shortcode.

Best Regards.

Awesome, thanks.

You’re welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.