Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Product Count in category menu Rate Topic   - - - - -

 

Posted 09 April 2013 - 01:55 AM #1

Please help!
I am working with the latest version of multi vendor
I am looking for a way in the customer view for people to see how many products are available per category/subcategory

I have tried the free coding staff mod but am unable to get it to work. I fear it does not work with the latest version of multi vendor as the attached text instructions reference things that are not found in my version like: 8 )Choose "CS Emenu", "CS Plain" or "CS Dynamic" from "Filling" dropdown list and hit the "Save" button

I was hoping there was a fairly simple <if> statement or something like {$products.count} that I could put in a particular template or anything like that.

Anyone who can help me I would be forever grateful...

 
  • curribhoys
  • Advanced Member
  • Members
  • Join Date: 29-Oct 12
  • 69 posts

Posted 18 April 2013 - 11:30 AM #2

Just add one function for counting No.of products in the category.

I did it for my Client Store. The function will take the Category ID and counts the products from the category via PHP and returns to Smarty template file.

Please let me know if you need any help on this.
Thanks,
Anand

 

Posted 18 April 2013 - 04:15 PM #3

Just add one function for counting No.of products in the category.

I did it for my Client Store. The function will take the Category ID and counts the products from the category via PHP and returns to Smarty template file.

Please let me know if you need any help on this.

Yes please, Help would be greatly appreciated. My knowledge of PHP is limited at the moment to being able to move snippets of code around. I am however trying to learn more every day.

Again Thank you.

 
  • curribhoys
  • Advanced Member
  • Members
  • Join Date: 29-Oct 12
  • 69 posts

Posted 23 April 2013 - 06:33 AM #4

Yes please, Help would be greatly appreciated. My knowledge of PHP is limited at the moment to being able to move snippets of code around. I am however trying to learn more every day.

Again Thank you.


Please send me a PM, I'll contact you soon.
Thanks,
Anand

 
  • curribhoys
  • Advanced Member
  • Members
  • Join Date: 29-Oct 12
  • 69 posts

Posted 23 April 2013 - 07:20 AM #5

Please refer this link : http://www.cs-market...enu-add-on.html

Hope this will help you to solve your problem.
Thanks,
Anand

 

Posted 23 April 2013 - 05:28 PM #6

Please refer this link : http://www.cs-market...enu-add-on.html

Hope this will help you to solve your problem.

Is this the same mod as this http://www.codingsta...ories-menu.html
if so I have tried this mod but have been unable to get it to work. It references things like Emenu etc. and in the latest version of multi vendor I do not see these type of references.

 
  • curribhoys
  • Advanced Member
  • Members
  • Join Date: 29-Oct 12
  • 69 posts

Posted 29 April 2013 - 12:21 PM #7

Okay, just post PM to me. I'll give you the solution.
Thanks,
Anand

 
  • jp1981
  • Member
  • Members
  • Join Date: 04-Oct 12
  • 23 posts

Posted 24 June 2013 - 08:48 PM #8

Can you please post the solution here?

 

Posted 05 February 2019 - 10:45 AM #9

Today we have released a CS-Cart 4 add-on that shows the number of products behind the category name.

https://www.cscartth...-product-count/

 

The add-on removes the default subcategory overview and creates a new subcategory block with a product count behind the category name. For example:
- Books (39)
- Videogames (200)
- Music DVD (105)