Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Retrieve a random selection of ChildCategories for the home page
 
platinumtackle
Member
 
Total Posts:  40
Joined:  2008-09-30
 

I have been trying to figure out how to retrieve a random selection of child categories using the product/list/random.php as an example.  I have two issues.  I can not get the select rand() to work for categories and what I really need is the ability to select randomly from all the sub categories at the lowest level.  Any help or direction would be appreciated.

I have extended Mage/catalog/block/navigation.php if that helps.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top