firesurf Posted July 13, 2017 Share Posted July 13, 2017 Hello Prestashop-Community, your work is great and your posts are very helpful. I already searched a lot regarding my problem, but it wasn't very successful. The problem: I want to implement a sort-by-sales-option for customers browsing the categories. I think knowing the bestsellers inside a category helps them to make their buy-decision. I'm surprised its not a default Prestashop feature. I found this old tutorial (2013): http://nemops.com/sort-by-sales-prestashop/ Tried the steps and tips in the comment section in many variations. Nothing worked. Does someone know how to implement this feature? We are working with the layered-navigation and the option to show subcategories. This seems to be a problem regarding to this module: https://addons.prestashop.com/en/administrative-tools/8515-sorting-out-products-by-category-display-order.html Thank you Markus Link to comment Share on other sites More sharing options...
musicmaster Posted July 14, 2017 Share Posted July 14, 2017 I don't know about that module and I am not sure about that old code. Anyway, you use the tables ps_orders and ps_order_detail for your purpose. In ps_order_detail you find the product numbers. In ps_orders you can check that this is a valid order. Link to comment Share on other sites More sharing options...
tabasco98 Posted February 21, 2018 Share Posted February 21, 2018 The NemoPS code is working only if you do not use the Layered Navigation: http://nemops.com/sort-by-sales-prestashop/ Anyone who make it works with the Layered Block Module? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now