grwd Posted December 17, 2002 Share Posted December 17, 2002 :?: Does any one know how to make the default sort for products by decending price? (i.e. highest price first) Thank you, Tim Link to comment Share on other sites More sharing options...
Ajeh Posted December 17, 2002 Share Posted December 17, 2002 There is a thread that describes how to set the default ... try a search for default sort I will try to hunt it up ... Link to comment Share on other sites More sharing options...
grwd Posted December 18, 2002 Author Share Posted December 18, 2002 There is a thread that describes how to set the default ... try a search for default sort I will try to hunt it up ... Thank you! I found it! :) Thank you, Tim Link to comment Share on other sites More sharing options...
Ajeh Posted December 19, 2002 Share Posted December 19, 2002 And if you post that thread URL here ... then I don't have to go hunt it down ... :D Link to comment Share on other sites More sharing options...
grwd Posted December 19, 2002 Author Share Posted December 19, 2002 And if you post that thread URL here ... then I don't have to go hunt it down ... :D Here it is! if ( !$HTTP_GET_VARS['sort'] ) { $HTTP_GET_VARS['sort'] = '4d'; $sort_order='d'; } Thank you, Tim Link to comment Share on other sites More sharing options...
grwd Posted December 19, 2002 Author Share Posted December 19, 2002 And if you post that thread URL here ... then I don't have to go hunt it down ... :D :oops: Now heres the WHOLE thing!:oops: Well, you know you can click the titles to change the sort order to which ever order you want on the product listing. What you need to do is change the default order that is being used. Something like this in the start of default.php works: if ( !$HTTP_GET_VARS['sort'] ) { $HTTP_GET_VARS['sort'] = '4d'; $sort_order='d'; } Thank you, Tim Link to comment Share on other sites More sharing options...
Ajeh Posted December 19, 2002 Share Posted December 19, 2002 Thanks! Just makes it easier for the next person feeling confused and lost ... 8) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.