Develo Design

Develo Design Menu

Did you mean? Search suggestions in Magento

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

Then restart apache

Share

Loading Disqus Comments ...
Loading Facebook Comments ...

Post Comment

Your email address will not be published. Required fields are marked *

Discuss My Project

We want to hear about your project! Provide us with a few details and we’ll get back to you for a chat.