Guest Posted January 14, 2007 Share Posted January 14, 2007 Hi! I was just wondering how you disable the product sorting on name and price on the product listing? (Oscommerce MS2). Or even if there is a simple way of removing the +/- symbols after the "Products" and "Price" Headings? Many thanks. Link to comment Share on other sites More sharing options...
Guest Posted January 14, 2007 Share Posted January 14, 2007 Hi! I was just wondering how you disable the product sorting on name and price on the product listing? (Oscommerce MS2). Or even if there is a simple way of removing the +/- symbols after the "Products" and "Price" Headings? Many thanks. I was able to remove the +/- symbols by editing: catalog/includes/functions/general.php line: 869. From this: $sort_suffix = (substr($sortby, 0, 1) == $colnum ? (substr($sortby, 1, 1) == 'a' ? '+' : '-') : '') . '</a>'; To This: $sort_suffix = (substr($sortby, 0, 1) == $colnum ? (substr($sortby, 1, 1) == 'a' ? '' : '') : '') . '</a>'; So the only change was removing the + and - symbols from between the single quotes at the end of the line. I hope this helps any one who may have come across this post looking for an answer to a problem. Oh and also thanks to Mark Russell whose "Product Sort" contribution enlightened me on where to find the symbols. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.