Do not count number of products per category

ThemeBurn SupportForumsOpenCart ThemesShoppica OpenCart ThemeDo not count number of products per category

This topic has been marked as not resolved.

I know this one has been answered already but I can’t find the post with your answer. How can I alter the code to NOT show the number of products, ie. Hats (19) in each category?

November 11, 2011 at 11:04 am #3434

Open this file catalog/controller/module/category.php and go to row 48. It should be:

'name'        => $child['name'] . ' (' . $product_total . ')',

change it to:

'name'        => $child['name'],

then go to row 62, which should contain:

        'name'        => $category['name'] . ' (' . $product_total . ')',

and change it to:

        'name'        => $category['name'],

The number of products should disappear from your category module.

Best,
ThemeBurn team

November 14, 2011 at 6:46 pm #3525
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.