ilias-s Posted September 19, 2017 Share Posted September 19, 2017 hello i would like to modify the search procedure in prestashop in order to display products that match ALL the keywords for example now if i enter the keywords "oxford" and "greek" it displays all the results that contain either the word "oxford" OR the word "greek" i would like to display only the results that contain both words, more specific only the products that contain both the word "oxford" and the word "greek" my prestashop version is 1.6.1.14 thanks for your support Link to comment Share on other sites More sharing options...
tuk66 Posted September 19, 2017 Share Posted September 19, 2017 It can be done in the find function, /classes/Search.php file. Look around foreach ($words as $key => $word) { } Link to comment Share on other sites More sharing options...
ilias-s Posted September 19, 2017 Author Share Posted September 19, 2017 yes but what needed to modify in order to have the desired result, i found that function in search.php but i cannot understand what should i do... can you help me with the script...? Link to comment Share on other sites More sharing options...
tuk66 Posted September 19, 2017 Share Posted September 19, 2017 Sure. Send me PM. 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