genz10 Posted November 17, 2013 Share Posted November 17, 2013 (edited) How to Sort base on "on_sale" status? , i try many tricks before .. I use prestashop 1.5.6 the product will only show if it was on sale.. i have tried to add <option value="on_sale:desc" {if $orderby eq 'on_sale' AND $orderway eq 'desc'}selected="selected"{/if}>{l s='On Sale'}</option> and add this $order_by_values = array(0 => 'name', 1 => 'price', 2 => 'date_add', 3 => 'date_upd', 4 => 'position', 5 => 'manufacturer_name', 6 => 'quantity', 7 => 'reference', 8=> 'on_sale'); on public function productSort() at FrontController.php but when i sort base on On Sale, its shows "No new products." i really desperate finding ways to do this. Thank you Edited November 17, 2013 by genz10 (see edit history) Link to comment Share on other sites More sharing options...
genz10 Posted November 17, 2013 Author Share Posted November 17, 2013 can anybody help me please ? Link to comment Share on other sites More sharing options...
genz10 Posted November 18, 2013 Author Share Posted November 18, 2013 does anyone know how to do this ? Link to comment Share on other sites More sharing options...
genz10 Posted November 19, 2013 Author Share Posted November 19, 2013 bump.. Link to comment Share on other sites More sharing options...
Recommended Posts