Guest oboi Posted July 5, 2005 Share Posted July 5, 2005 Anyone know how to create a custom sorting order for the "Popular Products" section??? Quote Link to comment Share on other sites More sharing options...
Guest estelle Posted July 6, 2005 Share Posted July 6, 2005 The whole point of the popular product box is that it shows the most popular item at the top!! But if you want to hack it, you could modify this file: includes/boxes/popularProducts.inc.php and change the "ORDER BY popularity DESC" to something else. You could order by the product name ("ORDER BY name ASC"). Or you could order by the product ID ("ORDER BY productID ASC") if you wanted to show the items in the order in which they have been added to the inventory (assuming no items have been deleted). Quote Link to comment Share on other sites More sharing options...
Guest oboi Posted July 6, 2005 Share Posted July 6, 2005 Well see - the funny thing is that nothing has been purchased yet but the products are still "popular" not gonna get into why the client wants a custom order, but I will try that hack. THANKS!!! Quote Link to comment Share on other sites More sharing options...
Guest estelle Posted July 6, 2005 Share Posted July 6, 2005 I think it is based on how many times each item has been viewed, rather than the number of purchases. 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.