By default, Magento doesn’t offer much to the user if they misspell words. As a simple fix for this you can use the PHP functions pspell to highlight to the users any basic misspellings for their search word.
Replace the following html in /template/catalogsearch/result.phtml
This is probably one of the quickest and most basic solution to this problem. I’ll be investigating better solutions shortly.
You may find that the psell library isn’t compiled along with your PHP extensions. If you’ve got the required permissions then the installation is fairly simple
1 2 3 4 |
$ apt-get install php5-pspell $ apt-get install aspell-en |
Then restart apache