Guest mcservice2005 Posted July 8, 2007 Share Posted July 8, 2007 Hi Everyone: I am wondering how can we make the new added product listed at the beginning at its category? The current setting of cubecart is that the newest added item is listed at the very last on its category. Many many thanks, my friend. Sincerely, M Quote Link to comment Share on other sites More sharing options...
convict Posted July 8, 2007 Share Posted July 8, 2007 includes/boxes/category.inc.php SEARCH FOR$results = $db->select("SELECT cat_name, cat_id FROM ".$glob['dbprefix']."CubeCart_category WHERE cat_father_id = 0"); REPLACE WITH$results = $db->select("SELECT cat_name, cat_id FROM ".$glob['dbprefix']."CubeCart_category WHERE cat_father_id = 0 ORDER BY cat_id DESC"); Note red marked is the trick. Quote Link to comment Share on other sites More sharing options...
Guest mcservice2005 Posted July 9, 2007 Share Posted July 9, 2007 Dear, thank you but that is not what I mean. My concern is, not to re arrange the category but to rearrange the items listed under each category - as from the newest added items listed on the first page, rathen then on the last page. Thank you very much ,my friend. M 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.