rimander Posted September 7, 2017 Share Posted September 7, 2017 (edited) Hi I need modify the search controller to improve search. Example: Product -> "BMW wheel xxx xxxx xxxx..." if i search "bmw wheel" then on results - bmw airbab - bmw .... - bmw wheel... then i write bmw wheel i need force search controller to search products with this 2 words. Thanks and sorry for my english Edited September 11, 2017 by rimander (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted September 7, 2017 Share Posted September 7, 2017 I read somewhere on the forum that there was a problem with a recent version. If I remember well the guy in that post solved it by copying an older version of search.php from an older PS version. 1 Link to comment Share on other sites More sharing options...
Scully Posted September 8, 2017 Share Posted September 8, 2017 (edited) The old files usually do not work on newer versins. Whe have developped an override for this issue: Download available here: https://getyourshop.ch/prestashop-search-fixed-for-ps-1-6-1-10-to-1-6-1-16/ Search.php fixes the search which will then only display results if all words are matching Product.php fixes some indexing issues. Tested an working for 1.6.1.10 up to 1.6.1.16. Lover versions might also work but haven't been tested. Files must be copied into the override folder. Also check the readme file. Edited September 8, 2017 by Scully (see edit history) 1 Link to comment Share on other sites More sharing options...
rimander Posted September 8, 2017 Author Share Posted September 8, 2017 Thanks , i will try change the .php to fix. Link to comment Share on other sites More sharing options...
Scully Posted September 8, 2017 Share Posted September 8, 2017 Dont change to file, copy the files from posted fix into your override directory. 1 Link to comment Share on other sites More sharing options...
rimander Posted September 11, 2017 Author Share Posted September 11, 2017 Dont change to file, copy the files from posted fix into your override directory. Yes, thanks. Fixed!! Link to comment Share on other sites More sharing options...
elisabotonalia Posted October 17, 2018 Share Posted October 17, 2018 (edited) Hello everyone, can some kind soul out there please provide the override files again, since none of the links are working anymore, and it seems there is no way in the world to make the search find all matching words? Please? Edited October 17, 2018 by elisabotonalia (see edit history) 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