i want it to show like this. Apple (50), Adidas (20)
Opencart default shows like this - Apple, Adidas but no product count in that.
please help me getting this work.
Thanks
1. Open file catalog\controller\product\manufacturer.php
2. Find
Code: Select all
$this->load->model('catalog/manufacturer');
Code: Select all
$this->load->model('catalog/product');
Code: Select all
'name' => $result['name'],
Code: Select all
'name' => $result['name'] . ' (' . $this->model_catalog_product->getTotalProducts(array('filter_manufacturer_id' => $result['manufacturer_id'])) . ')',
http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension
Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme
Extra Positions PRO, Custom JavaScript, Custom CSS and others
http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension
Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme
Extra Positions PRO, Custom JavaScript, Custom CSS and others
Thanks for posting this. However, it doesn't work for 2.0.3.1. Any ideas? - Also, how can i show manufactures that contain only products and hide the ones without products.viethemes wrote:Glad to hear that the problem is fixed
We have thousands of manufacturers but only a couple of hundred with products.
Users browsing this forum: No registered users and 43 guests