Post by viper8548 » Wed Jun 29, 2022 12:19 am

Hi,

OC 3.0.3.8 here.

When enabling "Category Product Count" in the store settings it will show product count for both categories and filters.

Can someone please point me to the right place/file to modify to make it only show count for filters and not both. thanks
Last edited by viper8548 on Mon Jul 04, 2022 9:02 pm, edited 1 time in total.

New member

Posts

Joined
Fri Feb 22, 2013 8:07 am

Post by ADD Creative » Wed Jun 29, 2022 12:31 am

Switch it off and change this line to the following.
https://github.com/opencart/opencart/bl ... er.php#L59

Code: Select all

'name'      => $filter['name'] . ' (' . $this->model_catalog_product->getTotalProducts($filter_data) . ')'

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by viper8548 » Mon Jul 04, 2022 9:01 pm

Thank you!

New member

Posts

Joined
Fri Feb 22, 2013 8:07 am
Who is online

Users browsing this forum: SohBH and 275 guests