Ajax Search Autocomplete extension icon

Ajax Search Autocomplete for Magento 2

Instant search-as-you-type results with products, categories and pages shown in a fast dropdown.

Catalog & Storefront Magento 2.4.x Open Source & Adobe Commerce Adobe Marketplace approved $39 USD

Why choose Ajax Search Autocomplete?

Shoppers who search are some of your most motivated visitors, and a slow or unhelpful search box loses them. Ajax Search Autocomplete shows rich product suggestions with images, accurate prices and one-click Add to Cart as soon as the shopper starts typing.

Choose between list, grid, compact and card layouts, decide which fields are searched, and use the REST endpoint for headless storefronts. Matching works independently of the search index, so results stay reliable. Best for: large catalogs and conversion-focused stores.

Ajax Search Autocomplete: Overview (screenshot 1 of 3)Ajax Search Autocomplete: General configuration (screenshot 2 of 3)Ajax Search Autocomplete: Display layout (screenshot 3 of 3)
1 / 3

Key features

  • Instant AJAX Search Suggestions
  • Rich Product Rows
  • One-Click Add to Cart
  • Four Dropdown Layouts
  • Configurable Search Fields
  • Index-Independent Matching
  • Accurate Pricing for Every Product Type
  • "View All Results" Link
  • Custom Dropdown Text
  • REST API Endpoint
  • Store-View Scope Throughout
  • Enable / Disable without Uninstalling
  • Zero Core Code Modifications

At a glance

Module nameMage2Expert_AjaxSearch
Composer packagemage2expert/module-ajax-search
SettingsStores › Configuration › Magento Expert › Ajax Search (15 options)
Per store view settingsYes
APIREST: 1 endpoint
PHP8.1, 8.2, 8.3, 8.4, 8.5

Installation

After purchasing on the Adobe Commerce Marketplace, install it with Composer using your Marketplace access keys:

composer require mage2expert/module-ajax-search
bin/magento module:enable Mage2Expert_AjaxSearch
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento cache:flush

Skip setup:di:compile and static-content:deploy if your store runs in developer mode.

Configuration reference

All 15 options under Stores › Configuration › Magento Expert › Ajax Search, grouped as they appear in the admin.

General Settings 5
SettingDescription
Enable Ajax Search 
Minimum Characters to Trigger SearchThe search dropdown appears once the visitor has typed at least this many characters.
Search Delay (ms)Delay before the AJAX request fires after the visitor stops typing.
Maximum Number of Products to DisplayMaximum number of matching products shown in the search dropdown.
Search In FieldsProduct attributes the typed text is matched against. The search runs directly against these fields (not the catalog search index), so results are unaffected by indexer status.
Display Settings 8
SettingDescription
Show Product Image 
Show Product Price 
Show Product SKU 
Show "Add to Cart" ButtonHidden automatically for out-of-stock products or products that require option selection.
Show "View All Results" Link 
"View All Results" Link Text 
No Results Found Text 
Loading Text 
Layout Settings 1
SettingDescription
Dropdown LayoutChoose how the search dropdown displays matching products.
API Settings 1
SettingDescription
Enable REST APIExposes GET /rest/V1/ajaxsearch/suggest for fetching search suggestions outside the storefront dropdown.

Developer reference

REST API

MethodEndpoint
GET/rest/V1/ajaxsearch/suggest

Frequently asked questions

How much does Ajax Search Autocomplete cost?
Ajax Search Autocomplete costs $39 USD as a one-off purchase on the Adobe Commerce Marketplace.
Which Magento and PHP versions are supported?
Magento Open Source and Adobe Commerce 2.4.x. It is developed and tested on Magento 2.4.8, and supports PHP 8.1, 8.2, 8.3, 8.4, 8.5.
Where do I configure Ajax Search Autocomplete?
In the Magento admin under Stores › Configuration › Magento Expert › Ajax Search. It has 15 options, grouped into 4 sections.
Can I switch it off without uninstalling it?
Yes. Set "Enable Ajax Search" to No under Stores › Configuration › Magento Expert › Ajax Search. Your settings and data are kept.
Can the settings differ per store view?
Yes. Many options can be set per website and store view, so multi-store and multi-language setups can behave differently.
Does it have an API?
Yes: 1 REST endpoint. See the developer reference above for the full list.
Can it be customised for my store?
Yes. As the developer of Ajax Search Autocomplete, I can adapt it to your workflow or build related features. Email me with what you need.
Available for new projects

Have a Magento project in mind?

Tell me about your store and what you need. I reply to every enquiry within one business day.

Adobe Certified Expert

Adobe Commerce Developer certification, verified on Credly.

15+ years of Magento

From Magento 1 to Magento 2.4.x, Adobe Commerce and Hyvä.

62 Marketplace extensions

Each one reviewed and approved by Adobe.