customer/products.php
old;
Code:
$products = func_search_products($search_query, !empty($user_account['membership'])?$user_account['membership']:"", $first_page,$current_category["product_count"]);
new:
Code:
$products = func_search_products($search_query, !empty($user_account['membership'])?$user_account['membership']:"", $first_page,$current_category["product_count"],0,$orderby);
old;
Code:
$smarty->assign("products",$products);
new
Code:
$smarty->assign("orderby",$orderby);
$smarty->assign("products",$products);
customer/home.php?cat=105&orderby=price
you will see sorting products