Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

The Product Name+ remove "+"


Guest

Recommended Posts

Hi

 

I am trying in vain to remove the + that appears after "Product Name" (ie it shows "Product Name+") when viewing a category listing. I have looked in the english/index.php file and it displays "Product Name" and I can change this but the + afterwards always reappears!

 

I would be very grateful if someone could explain how to get rid of the "+" and also why it is there in the first place (I have seen it on other sites too).

 

Many thanks

David

Link to comment
Share on other sites

Hi

 

I am trying in vain to remove the + that appears after "Product Name" (ie it shows "Product Name+") when viewing a category listing.  I have looked in the english/index.php file and it displays "Product  Name" and I can change this but the + afterwards always reappears!

 

I would be very grateful if someone could explain how to get rid of the "+" and also why it is there in the first place (I have seen it on other sites too).

 

Many thanks

David

 

Hi,

 

The Product column can be sorted in Descending Alphabetic order by clicking on the "Product +" link on the column header you refer to.

 

It then changes to "Product -" to indicate that the column can be sorted in Ascending Alphabetic order by clicking on the link.

 

I do not know how to get rid of the "+", but it is a very useful feature so why would you want to get rid of it? :-)

 

Yo - http://www.thecentreofinfinity.com

Link to comment
Share on other sites

One good reason is that it confuses search engines, which sees multiple URLs with similar content. I never found this feature terribly useful.

 

You can remove this by making the following change in includes/modules/product_listing.php:

//      $lc_text = tep_create_sort_heading($HTTP_GET_VARS['sort'], $col+1, $lc_text);
     $lc_text = tep_create_sort_heading(0, $col+1, $lc_text);

Link to comment
Share on other sites

One good reason is that it confuses search engines, which sees multiple URLs with similar content. I never found this feature terribly useful.

 

You can remove this by making the following change in includes/modules/product_listing.php:

//      $lc_text = tep_create_sort_heading($HTTP_GET_VARS['sort'], $col+1, $lc_text);
     $lc_text = tep_create_sort_heading(0, $col+1, $lc_text);

 

 

Thanks a lot for this, I never realized it was a sorter! I wont be listing enough products in each category for it to be useful so I will do what you say above, thanks again!

David

Link to comment
Share on other sites

rather than getting rid of it how can i replace it by and up- and down-arrow to make sure site visitors don't get confused.

 

cheers.

Did you try? Did you fail? No matter! Try again. Fail again! But fail better!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...