Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

modifying bestsellers


Recommended Posts



Bestseller is ordered by the field p.products_ordered. I need order by the product of this fields p.products_ordered*pd.products_price.


For example.


PRODUCT A 30 ordered * 100 price= 3000

PRODUCT B 2 ordered * 4000 priec= 8000


Actually bestsellers is first A 30 ordered and second B 2 ordered and, I want that bestsellers show first B because 8000 and second A 3000.


How can I get it?


Help will be appreciated.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...