rob84 Posted August 30, 2013 Share Posted August 30, 2013 Hello. Is it possible to modify the search result page when alias is set for adding a text for the misspelled word ? Example: Alias set: ipdo -> Ipod search for ipdo Search page result: No product found for ipdo. Did you mean ipod ? ----------------------- and here the results for ipod I think that the file is search.php and /themes/theme/search.tpl How to modify them ? Ps: 1.4.7.3 Thanks !! Link to comment Share on other sites More sharing options...
PascalVG Posted August 31, 2013 Share Posted August 31, 2013 rob, As it works now (or should work at least) is that before the search is done, Prestashop checks if there's any word in the search string that is added to the alias list. if there is a word that is mentioned in the alias list, it changes it first. So if you search for 'ipdo', it already changes the search string to 'ipod' BEFORE it searches. This way, you will never have the situation that you describe, as it changed already to the 'do you mean' word... My 2 cents, pascal 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