Jump to content
thirty bees forum
  • 0

Order products in prodcutcategory module by price


Question

2 answers to this question

Recommended Posts

  • 0
Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...