Widget to display woocommerce products on homepage

Hi,

I have Sydney Pro and I am trying to display random products on the homepage, which are small thumbnails, title and price.

Please assist.

Hello there,

You could use this shortcode with a Text widget.

[products orderby="rand" limit="8"]

The rand value of orderby paramener means display products randomly. To set maximum number of products to be displayed, specify the limit number.

For complete parameters you can use, refer to this documentation.

Regards,
Kharis

Thanks for the reply.

The problem is that the thumbnails a very large and there are 3 per line.

How could I custom this?

Regards,

Shaeden

Hello Shaeden,

You could set number of columns in a row by defining columns parameter. For example:

[products orderby="rand" limit="8" columns="6"]

Regards,
Kharis