Guest Posted September 29, 2005 Share Posted September 29, 2005 Using the legend template, how can I arrange the Shop By Catogries on the left side of the pages they are in no order at this time and I would like to have them list alphabetly. Quote Link to comment Share on other sites More sharing options...
Guest agent Posted September 29, 2005 Share Posted September 29, 2005 It's covered in this post. Here Basically... open includes/boxes/categories.inc.php change... $results = $db->select("SELECT cat_name, cat_id FROM ".$glob['dbprefix']."CubeCart_category WHERE cat_father_id = 0"); to... $results = $db->select("SELECT cat_name, cat_id FROM ".$glob['dbprefix']."CubeCart_category WHERE cat_father_id = 0"." ORDER BY cat_name ASC"); Quote Link to comment Share on other sites More sharing options...
Guest Posted September 29, 2005 Share Posted September 29, 2005 Thanks for the help that was it. Quote Link to comment Share on other sites More sharing options...
[email protected] Posted September 29, 2005 Share Posted September 29, 2005 Hi Yes it works but not true alpha. It ignores the 2nd letter onwards. At least that what happened when I made this change. Is there a way of getting actual alphabetical progression? Peter Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.