Posted Nov 30, 2009 by Qetzal, Head of Product

How to Add OpenSearch Support to Your Shopping Cart

Ecwid and Opensearch

OpenSearch is a collection of simple formats to share search results and discovery of search engines.
It allows accessing search engines directly from search boxes in some browsers: Internet Explorer, Firefox and Google Chrome.

In this post we will describe how to add OpenSearch support to your Ecwid shopping cart. So your customers will be able to search your products right from their browsers’ search boxes.

1.  Create an opensearch.xml text file with the following content:

Store Name

Store Name is your store name.
Description is the description of your store and site.
STORE_URL is the URL of the page where your Ecwid store is installed. For example “”.

Example of an XML file:

My Cool Store
We sell cool products.

2. Upload this file to the root web directory of your site. Usually it’s “httpdocs” or “htdocs” or “public_html” directory.

3. Add the following line to each page of your site between tags and :

You should replace SITE_URL with your site domain (with the http:// prefix) and Your_Store_Search with the name of your store search or the name of your site.


That’s all. If you have any questions, feel free to ask on our forums.

About the author
Qetzal is Head of Product at Ecwid. He loves to create new things to make people's lives easier.
We use cookies and similar technologies to remember your preferences, measure effectiveness of our campaigns, and analyze depersonalized data to improve performance of our site. By choosing «Accept», you consent to the use of cookies.