Category (item in stock)

kalanta

No avatar

2008-11-20 12:48

I need to have my category with products quantity, for exaple:

Tents (12)
Walking Boots (48)
Other Category (4)

» Quick.Cart v3.x

orange_24

No avatar

2008-11-20 14:16

i have this problem too

beholder

Avatar: beholder

2008-11-20 16:09

hmm... There need to be a special setting (with number of products) for each category in the lang_xx.php. Then it product don't have to be counted each time the page/menu is displayed, only when a product is added.

Next, you need to edit the menu generating functions and look up each products number for each category from the above settings. And add it to the category name.

This is quite difficult, although perhaps possible. 2 days work at least.

beholder

Avatar: beholder

2008-11-20 16:20

or perhaps the number of products could be inherent part of the category name. This is very well possible and easier to hack.
Then you need to edit the menu generating functions and look up each products number for each category from the above settings. And add it to the category name.

1 day of work at least.

beholder

Avatar: beholder

2008-11-20 16:22

no, my mistake, I am making things as I think. Sorry. Here is the correct reply:

The number of products could be inherent part of the category name. This is easier to hack.
You actually need only to edit the products adding function to change the category name too.

Back to top
about us | contact