grwd Posted December 17, 2002 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
Ajeh Posted December 17, 2002 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 ...
grwd Posted December 18, 2002 Author 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
Ajeh Posted December 19, 2002 Posted December 19, 2002 And if you post that thread URL here ... then I don't have to go hunt it down ... :D
grwd Posted December 19, 2002 Author 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
grwd Posted December 19, 2002 Author 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
Ajeh Posted December 19, 2002 Posted December 19, 2002 Thanks! Just makes it easier for the next person feeling confused and lost ... 8)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.