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

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