Magento – menu display category and products in category

I have 2 products categories in my Magento admin. Category one, has 5 products and category 2 has 8 products.

What I’d really like to do, is to have a menu, that displays both categories and then a drop down menu, that displays the products in each category.

Is this possible? I’ve looked everywhere but found no real examples

2 thoughts on “Magento – menu display category and products in category”

  1. I think it is possible but you would have to implement this yourself if you can find no examples :).

    You could maybe extend/override the function Mage_Catalog_Block_Navigation->_renderCategoryMenuItemHtml to render its products in the dropdown menu instead of its subcategories.

  2. I used the call to:

     $newCarCollection = Mage::getModel('catalog/category')->load(CATEGORY_ID);
     $newCarCollection = $newCarCollection->getProductCollection();

    Then looped through the ids. Was pretty simple but effective

    Thanks all for looking

Leave a Reply

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