View Single Post
  #6  
Old 05-22-2007, 07:45 PM
 
mbaic mbaic is offline
 

Member
  
Join Date: Dec 2006
Posts: 10
 

Default Re: Changing the "Sort by" options

Quote:
Originally Posted by balinor
Look at the very top of include/search.php, this bunch of code:

"productcode" => func_get_langvar_by_name("lbl_sku"),
"title" => func_get_langvar_by_name("lbl_product"),
"price" => func_get_langvar_by_name("lbl_price"),
"orderby" => func_get_langvar_by_name("lbl_default")

remove this line to get rid of the 'default' option:

"orderby" => func_get_langvar_by_name("lbl_default")

'SKU' is a language variable, so you can change that in your languages area.

This will be as stupid as stupid can be as far as questions are concerned. Where do I find the include/search.php file?
__________________
version 4.0.19
Reply With Quote