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