ionna Posted October 26, 2015 Share Posted October 26, 2015 Hello, I am total newbie to Prestashop and I am trying to complete a store development as soon as possible. That is why I may sound stupid, but I have no other option as I couldn't find any suitable answer by now. I am trying to implement a search box which would filter products by multiple words in their names. For instance, if I write "147 kapott" I may see as a result a list comprised of 'Honda 147 156 166 Kapott', 'Alfa Romeo 147 150 167 Kapott', etc. How can I do it? Should I use the 'blocksearch' module? Nevertheless, how can I implement this kind of filtering? I must add that I want to do it by myself and not use any addon. Any idea will be highly appreciated! Thank you very much! Link to comment Share on other sites More sharing options...
Rolige Posted October 26, 2015 Share Posted October 26, 2015 And what's the problem? Currently this is how it works, take a look at the PtestaShop demo: http://fo.demo.prestashop.com/ If you search for "sleeves faded" or "faded sleeves" or "faded", always will have the same result. Link to comment Share on other sites More sharing options...
ionna Posted October 27, 2015 Author Share Posted October 27, 2015 And what's the problem? Currently this is how it works, take a look at the PtestaShop demo: http://fo.demo.prestashop.com/ If you search for "sleeves faded" or "faded sleeves" or "faded", always will have the same result. Yes, thank you very much! I have just realized that I have that search box module, but it doesn't function properly. It never returns results although it should. Do you know why could that be? I don't really understand this: <form id="searchbox2" method="get" action="{$link->getPageLink('index',true)|escape:'html':'UTF-8'}" >. Is that action correct? What should the page be? Link to comment Share on other sites More sharing options...
Rolige Posted October 28, 2015 Share Posted October 28, 2015 Try to rebuild the index in the BO > Preferences > Search 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