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

How do I turn off, remove or hide category counts on the left menu? 
 
echazen
Jr. Member
 
Total Posts:  14
Joined:  2007-10-12
 

I have removed this line of code from the template page left.php

(<?php echo $_category->getProductCount() ?>)

But it didn’t have any effect.

Does anyone know how to remove the category count?  I can’t hide it via CSS because there is no tag applied solely to the account.

Help, please.

 
Magento Community Magento Community
Magento Community
Magento Community
 
hjuppehjuppe
Jr. Member
 
Total Posts:  3
Joined:  2009-04-29
 

Did you get this solved? smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
niro
Mentor
 
Avatar
Total Posts:  1609
Joined:  2009-03-04
Latvia, Riga
 

app/........../YOUR_THEME\template\catalog\navigation\left.phtml

Line 48
<a href="<?php echo $this->getCategoryUrl($_category) ?>"<?php if ($this->isCategoryActive($_category)): ?> class="current"<?php endif; ?>><?php echo $this->htmlEscape($_category->getName()) ?></a> (<?php echo $_category->getProductCount() ?>)

 
Magento Community Magento Community
Magento Community
Magento Community
 
hjuppehjuppe
Jr. Member
 
Total Posts:  3
Joined:  2009-04-29
 

Tnx! worked like a charm smile

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