Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to remove ->(17) from the cateogry item


Guest

Recommended Posts

where do i remove the ->(number of subctegories)

 

i have looked in includes/boxes / cateogories.php and set the following code to false

 

if ($tree[$counter]['next_id'] != false) {

tep_show_category($tree[$counter]['next_id']);

}

 

which has removed the numbers in brackets but i still get -> to the right of the category.

 

there must be something else i am missing or is there a different way to achieve what i want

 

thanks

Link to comment
Share on other sites

In (catalog)/includes/boxes/categories.php find this line...

 

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

 

and change it to...

 

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

Link to comment
Share on other sites

In (catalog)/includes/boxes/categories.php find this line...

 

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

 

and change it to...

 

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

 

You are a star works great many thanks...... :thumbsup:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...