Magento list random products

14.May.2014

We often need to list randomly chosen products on our Magento store. Lucky for us, Magento has provided this functionality, and this is easy to achieve from CMS block or CMS page.

All we need to do is choose a category from which we’d like to list our products, and use following snippet in that block/page.

1
2
{{block type="catalog/product_list_random" category_id="18"
template="catalog/product/list.phtml"}}