Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Getting rid of the sorting column in search results - help?


Recommended Posts


I'm trying to ged rid of the sorting result to one of my columns in the search result page. Or, just to get rid of the + and - signs for one specific column.


Any ideas?



Who would have thought that so much can be created from 0`s and 1`s...

Link to comment
Share on other sites

Line 64 in catalog/includes/modules/product_listing.php :

    if ( ($column_list[$col] != 'PRODUCT_LIST_BUY_NOW') && ($column_list[$col] != 'PRODUCT_LIST_IMAGE') ) {

change to:

    if ( ($column_list[$col] != 'PRODUCT_LIST_BUY_NOW') && ($column_list[$col] != 'PRODUCT_LIST_IMAGE'  && ($column_list[$col] != 'NAME_OF_NO_SORT_COLUMN')) ) {

The column names are those you see above line 64 (switch case):

PRODUCT_LIST_MODEL, PRODUCT_LIST_NAME, PRODUCT_LIST_MANUFACTURER........... of course they have to be enabled in admin.


Link to comment
Share on other sites


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

  • Create New...