Guido Buldrighini Posted October 25, 2019 Posted October 25, 2019 Hello, is it possible to order the products displayed using the "productcategory" module based on the price?
0 datakick Posted October 25, 2019 Posted October 25, 2019 You will have to modify the module code. Simply change this line to $category_products = $category->getProducts($this->context->language->id, 1, 100, 'price', 'DESC'); That should do the trick. If you do this modification, you can't update the module to newer version. The easiest way to ensure this is to change module version to some very high number, ie 100.0.0. That's a hack, though. It would be very nice to have an option to *lock modules* in tb core
0 Guido Buldrighini Posted October 25, 2019 Author Posted October 25, 2019 Thank you very much @datakick, it works like a charm.
Question
Guido Buldrighini
Hello, is it possible to order the products displayed using the "productcategory" module based on the price?
2 answers to this question
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