Adding product search to your site

You can add a search widget to your site page so your customers can search for products in your store. The search widget can be added to any page on your site or to all the pages.

For Wix users: follow the steps from the article about adding search to Wix.
For Wordpress users: learn about two ways of adding product search to your site.

Search widget code

To get the search widget code for your store:

  1. From your Ecwid admin, go to All Sales Channels → Custom website;
  2. Scroll to the Store extensions section and click Add Product Search:


The code will be copied.

Alternatively, you can copy the code for a search widget below (just make sure to replace 1003 in the example below with your store ID):

<div id="my-search-1003"></div>
<script data-cfasync="false" type="text/javascript" src="" charset="utf-8"></script>
<script type="text/javascript"> xSearch("id=my-search-1003"); </script>

Now you can add the search widget code to your site's code.

More about search box:

Check out our design section for instructions on changing the look of your store.
Was this article helpful?

Awesome! Thanks for your feedback!

Sorry about that! We are here to assist you by email or chat.

Contact support