Freds Posted June 2, 2013 Share Posted June 2, 2013 Hello Is there a way to turn on so I could have a bestsellers bestsales sort order everywhere were the the sort by: dropdown menu is? now not even topsellers category is sorted according to that. It must be something that I have wrong ore is it just normal to be like this? If there is no way to make it from backoffice how much will it cost to make it in code as a module? Best regards Fredrik 1 Link to comment Share on other sites More sharing options...
shacker Posted June 6, 2013 Share Posted June 6, 2013 if is the page bestsellers, edit the classes/productsale.php you get this function public static function getBestSales($id_lang, $page_number = 0, $nb_products = 10, $order_by = null, $order_way = null) and can change the orderby or orderway Link to comment Share on other sites More sharing options...
Freds Posted June 16, 2013 Author Share Posted June 16, 2013 ok but thos that then only effect the bestsellers page? and what can I change the vallue to? I am more interested to have a sortorder on the productpage were the drop down meny is you can choos to sort by price ore name a-z, z-a ore by stock there I would like to have also the option bestsellers (as presta addons page have) Link to comment Share on other sites More sharing options...
Freds Posted June 16, 2013 Author Share Posted June 16, 2013 this is what I would like to have 1 Link to comment Share on other sites More sharing options...
GraceGoh Posted September 30, 2013 Share Posted September 30, 2013 I would like to have this too . Can someone advise ? Link to comment Share on other sites More sharing options...
Stefand Posted October 14, 2013 Share Posted October 14, 2013 UP Link to comment Share on other sites More sharing options...
Toni Mármol Posted November 19, 2013 Share Posted November 19, 2013 (edited) Good news http://www.prestashop.com/forums/topic/19592-sort-by-best-sellers/?view=findpost&p=1462465 Edited November 19, 2013 by anmaral79 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts