Magento Forum

Number of products of one category
 
meurissema
Member
 
Total Posts:  62
Joined:  2008-03-10
Marcq En Baroeul
 

I would like to know how can i have the number of products in the menu of the top.
I have tested $category->getProductCount() in the class Mage_Catalog_Block_Navigation but it doesn’t work....
And if i do count(getProductCollection()), it returns 0.
Anybody have an answer ?

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