Set the Search Box ID Print

Modified on: Tue, Mar 15, 2016 at 1:12 PM

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

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.