How to set up Search Box ID on Magento 1

You can specify the ID pointing to the search field in the storefront. This is necessary if the value used in your storefront differs from the default one, which is search.

First, you should know the ID used in your storefront:

  1. Go the storefront of your Magento store

  2. Click on the search field with the right mouse button, then click on ‘Inspect Element‘ in the context menu.


    You should see a developer console with a highlighted line, which should look similar to: 

    <input id="mysearch" type="text" name="q" value="" class="input-text"/>

    The value stated in the ‘id’ attribute the one you need (‘mysearch’ in this example).


Now, give this value to Searchanise:

  1. Go to your Magento store admin panel
  2. Go to System → Configuration
  3. In the left pane, find SEARCHANISE → Settings and click on it
  4. Enter the obtained id value in the field Search input HTML DOM ID
  5. Click on Save Config
Updated on February 7, 2022

Was this article helpful?

Related Articles

Back to top