Configuring Autocomplete & Suggest

All Autocomplete settings are located in the System / Settings / Mirasvit Extensions / Search Autocomplete section.

It consists of the following sections:

General Configuration

This section is broken down into smaller subsections, and contains the following options:

  • Minimum number of characters to search - specifies the minimum number of characters which customers need to enter to trigger autocomplete.
  • The delay to start finding - specifies the delay between triggering autocomplete (by option above) and the beginning of the actual search.


    Our extension begins searching for possible autocompletion and offers suggestions only when both of the following conditions have been met:
    • the customer has entered the minimal required number of characters;
    • no actions took place during the specified delay period.
  • Fast Mode - This option allows you to greatly improve search speed by excluding Magento 2 from the autocomplete search at the initialization stage.


    • This option is available for Sphinx search and Elastic engines only;
    • The disadvantages include an increased indexing time of the search index, and the lack of some search capabilities, such as wildcard exceptions, individual search weight, Popular suggestions, Products in categories, number of found search results, etc.
  • Searchable content - list of search indexes where the search is performed, and results are displayed as autocomplete options. Indices are either taken from standard Magento or if the extension is installed as part of Advanced Search Sphinx Pro or Sphinx Search Ultimate - from corresponding Indexes grid.


    The grid contains the following settings:
    • Index - the name of the index which can be included to autocomplete.
    • Is Enabled - includes current index to autocomplete
    • Max Number of results - the maximum number of results which should be displayed in the autocomplete drop-down widget.
      You can drag and drop rows in this list to define the order in which results from different indices will be displayed in autocomplete drop-down.
  • Enable TypeAhead - enables the auto-suggestion feature. Our extension collects information about the most popular search queries and their results, groups them, and stores them separately. When autocomplete is triggered and the TypeAhead option enabled, our application automatically searches for the typed term and displays the suggestion of the most relevant query found.


    Use the Right Arrow button to quickly turn auto-suggestion to full autocomplete query and save autocomplete time.
  • Product Settings - defines the content and appearance of autocomplete individual product information cells.
    • Show Price - displays price or price range of products. Will show only final_price of the product if Fast mode is enabled.
    • Show Thumbnail - displays a small thumbnail of the product image.
    • Show Rating - displays a number of reviews and approval rating (so-called star rating).
    • Show Description - displays a short excerpt from product's description.
    • Show SKU - displays the SKU of the product.
    • Show "Add to cart" - displays a shortcut button for quick purchasing products.
    • Optimize autocomplete view for small screen size - allows for optimization of autocomplete layout to small screen sizes. Note: this may require additional style fixing in the Appearance section.
    • Appearance - contains only one field, which defines custom appearance of the autocomplete widget.
    • Additional CSS Styles - custom CSS styles, which should be applied either to the entire drop-down, or to individual product cells. It is an extremely powerful tool which allows you to match our Autocomplete extension to almost any theme.


      To customize individual product cell in autocomplete drop-down, use the following expression:
          // Your extended styles

      It will be added to our stylesheet.

  • Hot Searches

    Hot searches are the most popular queries which have been requested by customers. If a current customer request includes such a query, autocomplete can highlight them and bring them to the top of the drop-down.

    • Search queries - allows for overriding Hot Searches by adding special keywords (comma-separated), which should be counted as hot--this is particularly useful during promotional campaigns.
    • Ignored words - allows for excluding certain keywords from Hot Searches. It is also a list of comma-separated words.
    • Max Number of queries - the maximum allowed number of Hot Searches which should be displayed on autocomplete drop-down.


      Currently, Hot searches are the most searched Search Terms in your Magento. You can clear some of the search terms which then won't appear in the Hot searches option: go to Marketing > SEO & Search > Search Terms, find the necessary term, and delete it. Otherwise, you will need to delete them in the database.