Articles on: Magento 2 Pearl Theme User Guide

How to set the search design and Ajax search functionality in Magento 2 using the Pearl Theme

The Pearl Theme provides flexible, out-of-the-box design options for both the header search and Ajax search results. You can select from multiple layouts and fine-tune them to match your store’s branding.



Header Search Design


You can choose between two header search versions:


  • Version 1 – Default Magento search
  • Version 2 – Enhanced Pearl Theme search


To configure:


Admin > Store > Configuration > Custom Header > Search Options > Search Version


Search Version 1 (default Magento)


Search_v1.png


Search Version 2


Search_v2.png


  • Open (White)

search_v2_white.png


  • Open (Black)

search_v2_-_black.png


Additional customization options are available for both versions in the Admin panel.


Search_Version_1.png

Search_Version_2.png



Ajax Search Results Design


You can choose between three Ajax search result layouts:


  • Version 1 – Compatible only with Header Search V1
  • Version 2 (White) – Horizontal layout, compatible only with Header Search V2
  • Version 2 (Black) – Vertical layout, compatible only with Header Search V2


To configure:


  • Select Search Design:

Admin > Store > Configuration > Custom Header > Search Options > Search Version


  • Configure Ajax Search Autocomplete:

Admin > Store > Configuration > Ajax Search Autocomplete



Examples


Ajax Search Results V1 (with Header Search V1)

ajax-search-v1.png


Ajax Search Results V2 (White, Horizontal)

ajax-search-horizontal.png


Ajax Search Results V2 (Black, Vertical)

ajax-search-vertical.png


Additional Ajax search settings can be found under Admin > Store > Configuration > Ajax Search Autocomplete.


Ajax_Autocomplete_1.png

ajax_autocomplete_2.png

ajax_autocomplete_3.png



Demo Reference


If you’d like to match the configuration from our demo store, log in to the Pearl Theme Demo Admin (try using incognito mode if it doesn’t auto-login) and check the Search and Ajax Autocomplete settings for the relevant store view.

Updated on: 17/09/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!