Jump to content

(SOLVED) Sort by price only sort the current page


Recommended Posts

Hello!

I have searched the forum and there seems to be other people that have this problem too. But i have not found any solution, only that it probably will be fixed with the 1.4 version, is it?


The problem:

If i sort the products on product-list by for example low-price first, or highest price first - it only sort the current page, not all my products. Any solution for this yet?


I have version 1.3.1.1


thanks



SOLVED: I fixed the problem by doing the following:

1. Go to classes/Category.php
2. Search the line that starts with: "(p.`price` * ……"
3. Replace it with:

(p. `price` * IF (t. `rate`, ((100 + (t. `rate`)) / 100), 1)) AS orderprice




:)

Link to comment
Share on other sites

  • 3 years later...

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...