Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14318 reviews 1707 hosting providers

Questions & Answers

Magento/Hide Your search returns no results

Oct 16, 2013 by Alpha2
Hi all
I am using Magento for my ecommerce site. My question is, I want to hide the “your search returns no results” when searching on my . can I do this using web-forms?  I would appreciate any help on this. As I searched a lot for an answer but didn’t find anything.
Please note that I am using the default Magento theme for my site.
Many thanks

1 Answer

0 votes
Oct 16, 2013 by dona
You can do this by editing  the file result.phtmlin your theme. If  your Magento is installed directly in your public_html folder you will find the file in the public_html/ folder.
Now open the file and search for this code
>__('Your search returns no results.') ?>
Now you can edit the message ‘’your search returns no results’’ to what ever you want. And if you want to delete it you can comment the code using the <!—p class) in the beginning of the class and  /p-->) at the end of the class