if you want to remove product count from subcategories, search for:
and change it to:
and if you want to remove product count from parent categories, search for:
and change it to:
Code: Select all
'name' => $child['name'] . ' (' . $product_total . ')',
Code: Select all
'name' => $child['name'],
Code: Select all
'name' => $category['name'] . ' (' . $product_total . ')',
Code: Select all
'name' => $category['name'],
hi
i have installed this mod webvet_remove_category_count which this form link is listed on the doc part of the extension i have installed this and it works by removing the product count from the storefront but at the same time now i cant see the product and category count in my admin dash board anymore can someone please please help, thanks...
i have installed this mod webvet_remove_category_count which this form link is listed on the doc part of the extension i have installed this and it works by removing the product count from the storefront but at the same time now i cant see the product and category count in my admin dash board anymore can someone please please help, thanks...
For anyone searching for this now: This is a feature built into Open Cart version 1.5.5.1 (and probably some previous versions). To change the option go to Admin > System > Settings > <Your Store> > Edit > Option > Category Product Count
All the best
Simon
All the best
Simon
You'll want to use the following extension to receive a speed boost from disabling counts in 1.5.5.x:
http://www.opencart.com/index.php?route ... n_id=10999
http://www.opencart.com/index.php?route ... n_id=10999
-Ryan
In Version 1.5.5.1
Go to catalog, controller, module, category.php
Find around line 53
Replace with
On same page around line 60 find
Replace with
Go to catalog, controller, module, category.php
Find around line 53
Code: Select all
'name' => $child['name'] . ($this->config->get('config_product_count') ? ' (' . $product_total . ')' : ''),
Code: Select all
'name' => $child['name'],
Code: Select all
'name' => $category['name'] . ($this->config->get('config_product_count') ? ' (' . $total . ')' : ''),
Code: Select all
'name' => $category['name'],
Who is online
Users browsing this forum: No registered users and 137 guests