Latest Articles
So far this was never an issue, there were problems with uploading modules via the installer because of the ftp connection but you could allways install ocmods without any issue. However, some .. Read More
People had this issue so many times I thought I would write a bit about it. The  types of issues with opencart's 2.x modification system that I identified so far are: 1. Old Vqmod .. Read More
This small tutorial will show you how to manually add custom links to the default top menu in opencart. If you dont want to go trough all the hustle and would like to be able to completly customize.. Read More
To enable seo urls in opencart navigate in admin to system > settings , edit the store and on the server tab of the store settings you will find "Use SEO urls", set it to yes. So far e.. Read More
All Articles

Disable product count next to categories

Even if this issue has been fixed for a while in opencart, some people stil seem to have problems with disabling the product count next to the category name in the opencart left category menu, on the top menu's dropdown and on the subcategories from within a category's page.

In the most recent versions of opencart there is one simple setting to disable the product count in all those instaces, the setting can be found in admin > system > settings. Edit the main store, go to the option tab and the first setting below the products heading is category product count, set it to no and you easyly solved your issue.

I older versions of opencart the left category menu has its own settings for product count, so apart from the change at system settings you will also need to edit the category module in admin > extension > modules and for each added category module set the product count to off, again only if you have an older version of opencart and you can see this setting.

There are also some 1.5.x versions of opencart that dont have the product count setting at all. If you are in this situation, you can still easyly solve the problem by installing one of the free mods available on the opencart extension directory. Here you can find some free extensions that will do that: http://www.opencart.com/index.php?route=extension/extension&filter_license=0&filter_search=product%20count

I hope this will help you sove the issue you are having with the category product count, be it a speed issue or just an aesthetics issue.

Posted by Flo

Related Articles

If you want to display the categories a product belongs to on the product page (like the manufacturer is now), here is how you proceed: In catalog/controller/product/product.php look for the line: $this->load->model('catalog/product'); below it add: //product category $this->load->model('catalog/category'); $this->data['catprod'] = array(); $product_category = $this->model_catalog_product->getCategories($product_id); foreach ($product_category as $prodcat) { $category_info = $this->model_catalog_c..
18 comments on this article - view comments
What will this module allow you to do? You will be able to set from your opencart admin > system > settings >on the options tab: If you want to display on product listing (category page, search, featured, latest modules) and/or on product page the product code; If you want to display on the product listing and/or on the product page, the product location If you want to display on the product listing and/or on the product page the product upc(universal product code); If you want to display on product listing the product manufacturer If you want to display on ..
4 comments on this article - view comments
Many people ask about the setting on how many products are beeing displayed per row in opencart modules or category listings. Well there is no such setting, I mean there might be in some custom themes but now Im reffering strictly to the opencart default theme. The number of products displayed per row is influenced by the width of the individual product box which is set in the stylesheet.css of the default theme (catalog/view/theme/default/stylesheet/stylesheet.css). Change the number of products per row for modules display (Like latest, Featured, Bestsellers):  In stylesheet.c..
6 comments on this article - view comments

2 Comments To "Disable product count next to categories"

RDC On 25 Mar 2016
Thanks for that (don't know why I couldn't find that when looking!!!) Reply to this comment
shah On 26 Feb 2015
Thank you by heart. This works. Reply to this comment

Write a comment

Your Name:


Enter the code in the box below:

Your Comment:
Note: HTML is not translated!