How can i make the number of products in a category display in a menu item?

Hi Guys,

I wanted to make the number of products in a menu category appear in brackets next to that category on my site http://www.cellar2door.com

So for example if you moused over red wines on the top menu you would see Cabernet Sauvignon (28) and so on.

How would I go about this?

Many thanks Jim

13 answers

Profile photo of James Weston 2860.00 $tone September 30, 2014
Public

Thanks. But when I did that every menu item and all the menu tabs on the menu bar showed the same figure 142 which is the total number of products I have uploaded so far to the site?

Jim

#2
Profile photo of Mall Staff 184060.00 $tone October 1, 2014
Public

To resolve the issue of your website, you can try with this tweak below:

-- Download the below attached file.
-- Extract and upload it to the web root folder of your website.
-- Re-run the Compilation if the Compilation mode was enabled.
-- Flush Magento cache and let me know how it goes.

Best,
Mall

#5
Profile photo of Mall Staff 184060.00 $tone October 2, 2014
Public

Yes, that is right. We updated the code of JmMegamenu extension only.
Also, please backup your website site first.

#7
Profile photo of Mall Staff 184060.00 $tone October 6, 2014
Public

The code in the attached file would work fine. Have you enabled the Magento compilation mode in the Back-end?

You can PM me the credentials of your website. I will check further this issue for you.

#9
Profile photo of Mall Staff 184060.00 $tone October 7, 2014
Public

I have checked the code of your website via FTP credential from your PM.

I have re-install JmMegamenu for you. The issue of your website was resolved.

Have a look & let me know if you need further help.

#12

This question is now closed

Written By

Comments