Magento Forum

How to show item count of catalog in navigation menu. 
 
charlvee
Jr. Member
 
Total Posts:  1
Joined:  2009-08-19
 

I’m new and quite impressive of the features magento offer. Now trying to get familliar with it.
The problem I’ve found so far and try to resolve for 2 days now is how to show the item count within the catalog navigation menu.

I digged and found this phtml template associate with the area I need to make change.
<div class="box base-mini mini-navigation">
<div class="head"><h4><?php echo $this->__('Store Catalog') ?></h4></div>
<div class="content">
<ul id="nav-sidebox">
<?php foreach ($this->getStoreCategories() as $_category): ?>
<?php echo $this->drawItem($_category) ?>
<?php endforeach ?>
</ul>
</div>
</div>

So, can anyone guide me how to alter this code to show the count of item within each category?

Thanks in advanced.

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