Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

remove total parts categories


kristof de block

Recommended Posts

Go to includes/boxes/categories.php.

 

Find:

 

if (tep_has_category_cubcategories($counter)) {$categories_string.= '->';}

 

and change it for:

 

if (tep_has_category_cubcategories($counter)) {$categories_string.= '';}

 

 

 

Find:

 

$categories_string .= '</a>';

if (SHOW_COUNTS == 'true') {

$products_in_category = tep_count_products_in_category($counter);

if ($products_in_category > 0) {

$categories_string .= ' (' . $products_in_category . ')';

 

and change it for:

 

$categories_string .= '</a>';

if (SHOW_COUNTS == 'true') {

$products_in_category = tep_count_products_in_category($counter);

if ($products_in_category > 0) {

/*$categories_string .= ' (' . $products_in_category . ')'*/;

Link to comment
Share on other sites

Sorry

 

Go to includes/boxes/categories.php.

 

Find:

 

if (tep_has_category_subcategories($counter)) {$categories_string.= '->';}

 

and change it for:

 

if (tep_has_category_subcategories($counter)) {$categories_string.= '';}

 

 

Find:

 

$categories_string .= '</a>';

if (SHOW_COUNTS == 'true') {

$products_in_category = tep_count_products_in_category($counter);

if ($products_in_category > 0) {

$categories_string .= ' (' . $products_in_category . ')';

 

and change it for:

 

$categories_string .= '</a>';

if (SHOW_COUNTS == 'true') {

$products_in_category = tep_count_products_in_category($counter);

if ($products_in_category > 0) {

/*$categories_string .= ' (' . $products_in_category . ')'*/;

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...