Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

+ appears after Product Name in table heading


beachcomber1999

Recommended Posts

When I click on category or what's new, the table appears, showing what products are available.

 

In the heading of the table, next to the words Product Name a plus appears, e.g. Product Name+

 

I want to get rid of the plus. I've looked in catalog/includes/languages/english/index.php and also in public_htm/includes/languages/english/index.php and the line referring to the table heading says:

 

define('TABLE_HEADING_PRODUCTS', 'Product Name');

 

There doesn't appear to be any reference to the plus sign.

 

Can anyone please advise where I should be looking to get rid of this.

 

Thanks.

Link to comment
Share on other sites

Just a thought --

 

includes/functions/general.php ( Line 861):

 

$sort_suffix = (substr($sortby, 0, 1) == $colnum ? (substr($sortby, 1, 1) == 'a' ? '+' : '-') : '') . '</a>';

 

jon

 

Hi Jon, found that code in general.php but what should I remove?

Cheers,Michelle

Link to comment
Share on other sites

Hi Jon, found that code in general.php but what should I remove?

Cheers,Michelle

That code he pointed you to just tells which direction that particular column is sorted by, so if you want to remove it altogether, you can just set that variable equal to '', otherwise, you could stick in an image of an up/down arrow, or whatever you wanted to use to denote how the columns are sorted...

 

Richard.

Richard Lindsey

Link to comment
Share on other sites

  • 1 year later...

Archived

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

×
×
  • Create New...