Jump to content

How to sort products by number of sales.


PanMS

Recommended Posts

Hello.

Does anybody know how to add to "sort by" function on product list page one more type of sorting:

sort by number of sales.

For example if the product was sold 100 times its the first in the list, if it was sold 0 times it is the last in the list.

 

By this time I became a bit familiar with CSS and TPL coding but it seems to me that it needs to have some php coding.

So if it's simple coding? please tell me which file I have to edit and how.

Or if anybody can give me some advice. I will also appreciate it very much.

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