Stadtsirene Posted November 27, 2013 Posted November 27, 2013 Good morning everybody! Is there a solution to show (standard sort) homefeatured products ordered from cheapest first to most expessive product? Thanks! Share this post Link to post Share on other sites More sharing options...
vekia Posted November 27, 2013 Posted November 27, 2013 homefeatured.php $products = $category->getProducts((int)Context::getContext()->language->id, 1, ($nb ? $nb : 8)); change to: $products = $category->getProducts((int)Context::getContext()->language->id, 1, ($nb ? $nb : 8), "price", "desc"); 2 Share this post Link to post Share on other sites More sharing options...
Stadtsirene Posted December 2, 2013 Posted December 2, 2013 (edited) Very very well! Thank you! Edited December 2, 2013 by datenmine (see edit history) Share this post Link to post Share on other sites More sharing options...
vekia Posted December 2, 2013 Posted December 2, 2013 you're welcome i marked this topic as [solved] with regards, Milos Share this post Link to post Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now