Anthos59 Posted May 16, 2011 Share Posted May 16, 2011 Hi everyone,Firstly, Sorry for my bad in english, i hope you will understand me =)My problem is "simple" because I would like to see 2 time the search result but with different sort.I explain that :I search product who have a size of 25cm and 20 products matchedSo i would like to see the 20 products with the default sort and above that, a new result with the same product but sorted by the lowest price.Can you explain me how i can do it please ?Thanks, Regards,PS : I work with prestashop 1.4. Link to comment Share on other sites More sharing options...
gonandriy Posted May 16, 2011 Share Posted May 16, 2011 You can do this only if you familiar with PHP programming. You can override ProductController, where add yet one list of products sorted as you want. Also, you must include product-list.tpl once more and pass there this is new list. If you can not find place in ProductController, which need to be changed, please let me know. Link to comment Share on other sites More sharing options...
Anthos59 Posted May 16, 2011 Author Share Posted May 16, 2011 Thanks for your response.I don't find ProductController... It's not win ... lolCan you help me ? Thanks. Link to comment Share on other sites More sharing options...
gonandriy Posted May 16, 2011 Share Posted May 16, 2011 Are you work with search results page? Link to comment Share on other sites More sharing options...
Anthos59 Posted May 16, 2011 Author Share Posted May 16, 2011 Oh sorry, I'm working with product-list.tplThe module Advance search v3 use "product-list.tpl" and i must modify this page Link to comment Share on other sites More sharing options...
gonandriy Posted May 16, 2011 Share Posted May 16, 2011 Modification only of product-list.tpl nothing will give you. You must find in PHP code where this data was generated and generate also another list, which sorted as you want.Then in place, where product-list included, you must include this once more with another list as param, sorted as you want 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