meriem88 Posted November 25, 2016 Share Posted November 25, 2016 I have a problem with the search engine and I do not know how to solve itIf i type "iphone 4" in the search engine it shows me iphone 4,iphone 5 and iphone 6 products , thanks for help me Here is my site URL : http://jnc-electronics.com Link to comment Share on other sites More sharing options...
Martin Uker K Posted November 25, 2016 Share Posted November 25, 2016 The class search.php is called on method "find". the method find split the Query search into words. It explode the search on spaces. AND THEN, since your second words is under the lower limit of character (3), it get ignored. So, if you want to search according to Phrases instead, it would need manifulation on this specific class. This is not something I recommend you to do. I mean, don't do that. It would goes against PS control and might affect your system efficiency. I think you should create exception for "Iphone X" and deal with it like a words. That being said, I can't product that code on the fly. Martin 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