Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I have an extra + on my page,


jpweber

Recommended Posts

Posted

Hi all. OSC coming along great. I have 2 contributions (input options and header tags) and both are working great. Minor snag here, just hoping someone can help.

 

I go to my home page, click on one of the categories, and then one of the subcategories, and it's all fine. When I click on one of the subcategories and get the list of products, it lists my products fine.

 

But the table headings at the top is like this:

Product Name+ Model Manufacturer Price Buy Now

 

I can't seem to find where this extra + sign is coming from. I don't even know where the table is located. I mean, the URL is catalog/index.php?cPath=1_25&osCsid=ca7a13d8c810f4a5990520035aa183bf, so maybe it's on the index page? I don't know. Any help or suggestions would be appreciated, though. Thanks!

 

J

Jason

 

Simple 1-2-3 Intructions on how to get, install and configure SSL

 

The Google Sandbox explained

 

Simple to follow instructions on how to change the look of your OSC

 

How To Make A Horrible OSC Website

 

my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP

 

my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...

Posted

The plus sign is in catalog\includes\functions\general.php, around line 870

 

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

 

It shows up next to whichever column the table is currently sorted by ...if you click the "price" column, the + will move over there. Or it will switch to a minus sign if you click the column heading again.

Posted

Oh, okay, well I feel really stupid now ... lol

 

Thanks a lot Mark. I'll leave it there as a non-issue then. Thanks for taking the time to reply, and have a good one,

 

J

Jason

 

Simple 1-2-3 Intructions on how to get, install and configure SSL

 

The Google Sandbox explained

 

Simple to follow instructions on how to change the look of your OSC

 

How To Make A Horrible OSC Website

 

my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP

 

my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...

  • 5 months later...
Posted

Since I still wanted to remove these signs, I edited the includes/functions/general.php as follows and it removed the + and -

 

Around line 859:

 

change:

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

 

to:

 

//removed the suffix for sorting

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

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

 

Hope this helps someone!

Janet

Archived

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

×
×
  • Create New...