cancel
Showing results for 
Search instead for 
Did you mean: 

How do I add product count to main navigation menu product categories?

SOLVED

Re: How do I add product count to main navigation menu product categories?

Yes you can just return true after the first line, then it skips the check for empty categories.

 

Regarding adding the space you can change the line:

 

$html .= '(' . $this->_productsCount[$child->getId()]['product_count'] .')';

 

To:

 

$html .= ' (' . $this->_productsCount[$child->getId()]['product_count'] .')'; 

Re: How do I add product count to main navigation menu product categories?

Thanks,  amazing, thats awesome, everything is perfect,  

Re: How do I add product count to main navigation menu product categories?

<a href="http://agenidr.site">Bandar Poker</a> <a href="http://agenidr.site">Capsa Susun</a> <a href="http://agenidr.site">Situs Judi Online</a> <a href="http://agenidr.site">Bandar Domino</a> <a href="http://agenidr.site">Agen Sakong</a>