Jump to content

How to add sorting by other criteria?


Recommended Posts

Client at last minute made request to have sorting of products by numeric values. For example, if a product had a rating, such as 1200, 100, 200, 300 the built-in sorting using A to Z would treat the numbers as strings and not sort them in the correct order.

 

Can anyone recommend an Add-On that adds numeric sorting? And also how would products need to be modified? Perhaps they each would need a new feature that contains the numeric rating? (Therefore it needs an add-on that sorts by feature??)

 

I appreciate any advice regarding this. (PrestaShop 1.6.1.5)

Edited by GoodWeb (see edit history)
Link to comment
Share on other sites

I don't have much advice for you.

 

All I can do is warn you throught your development : BlockLayered will be a problem. I didn't make it throught that step. I've been able to override the categorycontroller/category classes to be able to order. But never have I been able to pass throught the Blocklayered cache problem, even when I dumped it and deactive the PS cache.

 

PS Cache have given me a lot of problem lately.

 

Best regards,

 

Martin.

Link to comment
Share on other sites

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