Remove magentos search suggest feature?

Remove magentos search suggest feature?

July 16, 2026 · Illustrated author avatarBy Stefan Bogdanescu
Remove magentos search suggest feature?

Removing Magento’s Search Suggest Feature: A Comprehensive Guide


Introduction

Magento’s search feature is a powerful tool for e-commerce sites, but the default search suggest box can be slow, intrusive, and visually unappealing. As a senior developer, I often get asked where to find and disable this functionality. This guide will walk you through the process step-by-step.

Understanding the Search Suggest Feature

The search suggest feature is part of Magento’s core search engine functionality. It uses the RavenDB for indexing product data and providing autocomplete suggestions as users type in the search box. While it offers a useful feature, it can have performance implications on your server resources.

Where to Find and Disable the Feature

The search suggest feature is controlled by several files within Magento’s core codebase. To remove it completely, you’ll need to disable the indexing process and modify some template files.

1. Disabling Indexing Process

Open the app/code/core/Mage/Catalog/Model/Resource/Product.php file in your favorite text editor or IDE. Look for this line:

if ($processes['search'] && $this->getIndexer('search')->isActive()) {
    $this->getIndexer('search')->reindexAll();
}

Change it to:

// Disabled the search index reindexing

This stops Magento from automatically updating the search index, which powers the search suggest feature.

2. Modifying Template Files

Next, open the app/design/frontend/default/your-theme/template/catalogsearch/form.mini.phtml file. Look for this section:

<div class="search-autocomplete">
    <ul id="autocomplete-results" class="autocomplete-suggestions"></ul>
</div>

And remove or comment it out like so:

<!--
<div class="search-autocomplete">
    <ul id="autocomplete-results" class="autocomplete-suggestions"></ul>
</div>
-->

This removes the HTML container for the search suggest dropdown.

Testing Your Changes

Before deploying these changes to a live site, I recommend testing them on a staging environment or local development setup. To test:

  1. Clear your Magento cache: php bin/magento cache:clean
  2. Flush your browser’s cache
  3. Visit your website and start typing in the search box

You should no longer see the slow-loading search suggest dropdown.

Conclusion

Removing Magento’s search suggest feature requires a combination of disabling background processes and modifying template files directly within the core codebase. While it’s possible to do this, I would recommend considering alternative approaches for performance optimization.

For example, you could optimize your site’s indexing process, improve your server configuration, or leverage third-party extensions designed for search optimization and speed improvement. Always remember that modifying core files can lead to upgrade issues later on.

If you’re looking for professional assistance with Magento development and performance tuning, feel free to reach out to our team at Laravel Company. We specialize in delivering high-performance e-commerce solutions tailored to your business needs.

Catalog Indexing Performance Themes

Our network