Magento 1.9 – Search Option Shows Irrelevant Suggestions

magento-1.9search

When i search a particular products the search bar shows some irrelevant suggestion in a drop down as you can see in image.It shows that products categories which doesn't exist in my store. i don't want these suggestion drop down list. Please tell me a solution to remove this dropdown list. Thanks enter image description here

Best Answer

as per your response in comment- You can manage Search terms in admin from -

Catalog -> Search terms

Or if you don't want to display search term suggestion , you can disable it from admin at below path-

  1. Go to System -> Configuration
  2. Select catalog beneath Catalog tab from left navigation tab
  3. Now select Catalog Search
  4. And set Show Autocomplete Results Count to NO

Update : To remove search suggestion you have to change in below file-

/your_magento/app/design/frontend/your_package/your_theme/template/catalogsearch/form.mini.phtml

if this file is not there in your theme , then copy it from base/default or rwd/default theme to the given path

then in form.mini.phtml file comment/delete this code

<div id="search_autocomplete" class="search-autocomplete"></div>

and this script code

searchForm.initAutocomplete('<?php echo $catalogSearchHelper->getSuggestUrl() ?>', 'search_autocomplete');
Related Topic