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

Add number of products to category menu
 
flimmit
Jr. Member
 
Avatar
Total Posts:  5
Joined:  2007-12-20
Vienna
 

I’m looking for a thread in the forum, but I can’t find.
I put a vertical menu of all child categories on the left side. Now I want to show in brakets the number of products next to it.
Like this: Household (7)
With this line in the left.phtml I can show things like name, url and if it’s an active menu

$_categories=$this->_getChildCategories(75);
Now I have no idea what to add in the navigation.php or in the left.phtml file to show the number of products per category!?
Can anyone help?
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top