How to integrate search with your e-commerce platform (WooCommerce, OpenCart)


Why integrate a third-party search engine?
Default WooCommerce and OpenCart search fails on typos ("adiddas" → zero results), synonyms ("sofa" ≠ "couch"), and Greeklish ("tsanta" → zero results).
72% of e-commerce sites fail basic search expectations (Baymard, 2024). AI search fixes this.
Integration overview
Works with any platform that exports XML feeds (WooCommerce, OpenCart, custom platforms). Takes 5 minutes:
- Export products as XML (Google Merchant Center format)
- Import feed into SearchX (paste URL)
- Add JavaScript snippet to
<head>tag
WooCommerce integration (step-by-step)
Step 1: Get your XML product feed (2 minutes)
- Install "Product Feed PRO for WooCommerce" plugin (free)
- Go to Products → Product Feed
- Click "Create New Feed"
- Select "Google Merchant Center XML"
- Click "Generate Feed"
- Copy the feed URL (e.g.,
https://yourstore.com/feed.xml)
Step 2: Import products into SearchX (1 minute)
- Go to searchxengine.ai/register
- Create an account (14-day free trial, no credit card)
- Click "Add New Store"
- Paste your XML feed URL
- Click "Import Products"
SearchX reads your feed and imports titles, descriptions, images, prices, categories, and attributes.
Step 3: Add search widget to your site (2 minutes)
- After import, SearchX generates a JavaScript snippet
- Go to WordPress admin → Appearance → Theme File Editor
- Open
header.php - Paste the snippet before
</head> - Save
That's it. SearchX is now live on your WooCommerce store.
OpenCart integration (step-by-step)
Step 1: Get your XML product feed (2 minutes)
- Install "Google Merchant Center Feed" extension (free)
- Go to Extensions → Feeds → Google Merchant
- Click "Generate Feed"
- Copy the feed URL
Step 2: Import products into SearchX (1 minute)
- Go to searchxengine.ai/register
- Create an account (14-day free trial, no credit card)
- Click "Add New Store"
- Paste your XML feed URL
- Click "Import Products"
Step 3: Add search widget to your site (2 minutes)
- After import, SearchX generates a JavaScript snippet
- Go to OpenCart admin → Design → Theme Editor
- Open
header.twig - Paste the snippet before
</head> - Save
Done. SearchX is now live on your OpenCart store.
Custom platform integration
If you use a custom e-commerce platform (not WooCommerce or OpenCart), you can still integrate SearchX:
Step 1: Export your products as XML
Export your product catalog as:
- Google Merchant Center XML (recommended)
- Facebook Catalog XML
- Skroutz XML (Greek stores)
Format:
<?xml version="1.0"?>
<rss version="2.0">
<channel>
<item>
<g:id>12345</g:id>
<g:title>Nike Air Max 90</g:title>
<g:description>Classic Nike sneakers</g:description>
<g:link>https://yourstore.com/products/12345</g:link>
<g:image_link>https://yourstore.com/images/12345.jpg</g:image_link>
<g:price>120.00 EUR</g:price>
<g:brand>Nike</g:brand>
<g:color>White</g:color>
</item>
</channel>
</rss>
Step 2: Host the XML file
- Upload the XML file to your server
- Make it publicly accessible (e.g.,
https://yourstore.com/feed.xml)
Step 3: Import into SearchX
- Go to searchxengine.ai/register
- Create an account (14-day free trial, no credit card)
- Click "Add New Store"
- Paste your XML feed URL
- Click "Import Products"
Step 4: Add search widget
- After import, SearchX generates a JavaScript snippet
- Add the snippet to your website's
<head>tag - Save
Done. SearchX is now live on your custom platform.
What happens after integration?
After integrating SearchX, customers get:
- Typo tolerance — "adiddas" returns Adidas products
- Synonym support — "sofa" returns couches
- Greeklish support (Greek stores) — "tsanta" returns bags
- Smart filters — auto-generated facets (price, brand, size, color)
- Autocomplete — results appear as they type
- Fast results — sub-200ms response time
You get:
- Real-time analytics — see what customers search for
- Zero-result tracking — fix searches that fail
- Conversion metrics — track search-driven revenue
Do I need a developer?
No. Just paste your XML feed URL and add a JavaScript snippet to your header. If you can edit your theme files, you can install SearchX.
Switching from Algolia or Elasticsearch
Migration takes 5 minutes: import your XML feed, replace the old widget with SearchX, remove old code.
Why switch? SearchX costs €49/month (vs €200-€800 for Algolia), takes 5 minutes to set up (vs 8-16 hours), and has native Greeklish support.
Common issues
No XML feed? Install "Product Feed PRO" (WooCommerce) or "Google Merchant Feed" (OpenCart) — both free.
Can't edit header? Ask your developer to add the JavaScript snippet to <head> — takes 2 minutes.
Products missing? Check XML for required fields (title, link, price, image). Validate with Google Merchant Center.
SearchX is an AI-powered search engine for e-commerce. Works with WooCommerce, OpenCart, and any platform with an XML feed. 5-minute setup, €49/month, 14-day free trial. See it live · Check the docs
Related: See pricing & start free trial • Compare SearchX to Algolia • Read how to set up search in 5 minutes
Sources: Baymard Institute 2024