Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

The little arrow next to the catagory


Ausgirl

Recommended Posts

Posted

Hello

 

Ive done this before but just drawn a blank! :blush:

 

How do I remove the little arrow next to the catagory that appears when you have subcatagories under the heading?

 

Thanks

Posted

Edit includes/classes/boxes.php

 

	   if ($right_arrow == true) {
	 $right_arrow = '<a href="' . $right_arrow . '">' . tep_image(DIR_WS_IMAGES . 'infobox/arrow_right.gif', ICON_ARROW_RIGHT) . '</a>';
   } else {
	 $right_arrow = '';
   }

 

if just plain don't want them at all, change all of that to just

   $right_arrow = '';

Posted

This is the wrong arrow, I should explain myself a little better,

 

In the catagory box you have your products:

 

Product One

Product Two

Product Three

ect...

 

product Two may have sub catagories under it like

 

Product Two

A

B

C

 

Because it has subcatagories, when looking at the catagory box it looks like this:

 

Product One

Product Two->

Product Three

 

This is the arrow I wish to remove

Posted

ooops, read it too quick or something. what you're looking for there then is in includes/boxes/categories.php

 

towards the top, should be these lines

 

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

 

just take all that out or just change the '->' to ''

Posted

Hi Jef

 

I was comparing my files, its not how I did it last time but anyway, it did the trick!

 

Thanks :thumbsup:

Posted

Yeah, that's the way I always do it as it's quick and simple and removes 'em period.

 

The only other way I can think of, or if you wanted to leave the possibility of using the arrows in the future, would be to edit the file for the box and remove the link from the paramters passed to new infoBoxHeading()

Archived

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

×
×
  • Create New...