mrduc Posted April 22, 2017 Share Posted April 22, 2017 Hi, When i use seach block i want to search by sentence not search by words. How can i do it? Exam: Product 1 name: Product ref Taka IR2EU Product 2 name: Product ref Taka IR3EU My keyword: Taka IR2EU Result: both Taka IR2EU + Taka IR3EU I don't want like this, i want only Product 1 result. Please suggest me how to fix it. Many thanks Link to comment Share on other sites More sharing options...
Opremi Posted April 22, 2017 Share Posted April 22, 2017 Hello, mrduc. You don't find anyone to help you, because all of us have the same problem and Prestashop don't solved it yet. See my theme. I think you have the same problem. There you will find my solution. Link: https://www.prestashop.com/forums/topic/597944-search-two-or-more-words/ 1 Link to comment Share on other sites More sharing options...
Daresh Posted April 22, 2017 Share Posted April 22, 2017 (edited) Check out the SearchX module, it replaces the default OR mechanism in prestashop with AND. Edited February 25, 2019 by Daresh (see edit history) Link to comment Share on other sites More sharing options...
mrduc Posted April 23, 2017 Author Share Posted April 23, 2017 Hello, mrduc. You don't find anyone to help you, because all of us have the same problem and Prestashop don't solved it yet. See my theme. I think you have the same problem. There you will find my solution. Link: https://www.prestashop.com/forums/topic/597944-search-two-or-more-words/ You saved my life, yes it works like a charm Thanks Link to comment Share on other sites More sharing options...
Scully Posted August 25, 2017 Share Posted August 25, 2017 We have developed a fix for the issue using an OR condition instead of AND when multiple words are used. Tested on some PS 1.6.1.X versions up to 1.6.1.15, but also 1.6.1.16 should work.A download is available here:PrestaShop Search Fix V 1.6.1.x Link to comment Share on other sites More sharing options...
italofares Posted October 12, 2018 Share Posted October 12, 2018 how can i solve i have the same problem thanks Link to comment Share on other sites More sharing options...
joostjoost Posted November 22, 2018 Share Posted November 22, 2018 I have the same problem, and it seems that both links do not work. How to download the PrestaShop Search Fix V 1.6.1.x? Link to comment Share on other sites More sharing options...
manusegarra Posted January 11, 2019 Share Posted January 11, 2019 Hi there, If someone is still searching for this, I have it solved for PS 1.6.0.9. You can check how it works at my site https://bouttye.com Replace your file in httpdocs/classes/search.php with the attached file and you are done. Kind regards. Manuel Segarra. Search.php 1 Link to comment Share on other sites More sharing options...
Jessica Posted February 25, 2019 Share Posted February 25, 2019 On 1/11/2019 at 9:05 AM, manusegarra said: Hi there, If someone is still searching for this, I have it solved for PS 1.6.0.9. You can check how it works at my site https://bouttye.com Replace your file in httpdocs/classes/search.php with the attached file and you are done. Kind regards. Manuel Segarra. Search.php Hola Manu, he intentado descargarlo pero no me deja, me da error. Ya me dices por fa, gracias y un saludo Link to comment Share on other sites More sharing options...
lateral Posted June 10, 2020 Share Posted June 10, 2020 Thanks manusegarra for this fix as I spent a lot of time looking for the solution. Cheers 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