Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

category count can not be dissabled


Guest

Recommended Posts

Posted

Hello,

 

regarding the category count I have the same problem that I can not dissable the category count, but there is no template or contibution installed. I tried to dissable category count in the admin section and in the php-code of categories.php by changing the condition from true to false. But there is still the category count beside the categorys.

 

Please tell me how to dissable category count by milestone 2.2. Thank you.

 

Dirk

Posted

in catelog/includes/boxes/categories.php

find this:

if (SHOW_COUNTS == 'true') {
  $products_in_category = tep_count_products_in_category($counter);
  if ($products_in_category > 0) {
	$categories_string .= ' (' . $products_in_category . ')';
  }
}

and comment it out or delete it

My Contributions

 

Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly

Password Protect Admin

"No matter where you go....There you are" - Buccaroo Bonsai

Posted
in catelog/includes/boxes/categories.php

find this:

if (SHOW_COUNTS == 'true') {
  $products_in_category = tep_count_products_in_category($counter);
  if ($products_in_category > 0) {
	$categories_string .= ' (' . $products_in_category . ')';
  }
}

and comment it out or delete it

 

Even if I delete the complete code as shown above out of the categories.php there is no change.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...