Your cart is currently empty!
๐ User Guide
1. Overview
AI WooCommerce Search is an advanced natural-language product discovery plugin designed for WooCommerce stores.
Instead of traditional filters and keyword search, users can describe what they want in plain language, and the system intelligently returns matching products.
Example:
โElegant pastel polo shirt for men, size Lโ
The plugin understands the intent and returns precise results using your storeโs real product data.
2. Key Features
๐ง Natural Language Search
Users type queries like a human
No need for filters or exact keywords
โก Instant Results
Fast search powered by optimized pipeline
No page reload required
๐ Multilingual Support
Works in any language supported by OpenAI
๐ฏ Accurate Matching
Converts user intent into structured attributes
Uses WooCommerce taxonomy for precise filtering
๐ก Smart UX
Floating search button
Smooth animations
Mobile-first design
3. How It Works (Advanced Logic)
AI Woo Search does not behave like traditional keyword search.
It follows a structured pipeline:
๐ง Step 1 โ User Query
User writes naturally:
โ โMenโs grey short sleeve shirtโ
โ โBlack leather shoes under $100โ
โ โGaming laptop with RTX 4060โ
โ โMinimalist white sneakersโ
โ โSamsung phone with stylusโ
โ โWooden dining table for 6 peopleโ
๐ค Step 2 โ AI Intent Extraction
The plugin uses OpenAI to convert text into structured intent:
{
ย “category”: “shirt”,
ย “gender”: “male”,
ย “attributes”: {
ย ย ย “color”: “gray”,
ย ย ย “style”: “short sleeve”
ย ย }
}
๐ AI only understands intent โ it does NOT search products.
๐ Important: AI does not search your products directly.
It only converts user language into structured filters.
All product matching is done by WooCommerce data.
๐ช Step 3 โ Store-Aware Mapping
The plugin maps intent to your store:
- Categories โ WooCommerce categories
- Attributes โ WooCommerce attributes
- Brands โ brand taxonomy
๐ This ensures compatibility with ANY WooCommerce store.
๐ Step 4 โ Strict Filtering (Core Engine)
The plugin applies filters exactly like WooCommerce filters:
Category AND Gender AND Brand AND Attributes
Example:
Men + Shirt + Gray + Short Sleeve
๐ All conditions MUST match.
โ ๏ธ Important Behavior
If no exact match exists:
๐ Result = 0 products
This is intentional.
The plugin DOES NOT:
โ Show unrelated products
โ Guess approximate matches
โ Return misleading results
๐ฆ Step 5 โ Data Sources
The system uses:
- WooCommerce taxonomies (main source)
- Product attributes
- Product title
- Short description
- Full description
๐ Even if attributes are missing, search can still work via text.
๐งฎ Step 6 โ Ranking
Products are ranked by:
- exact matches
- attribute relevance
- text consistency
Only valid products are ranked.
โก Step 7 โ Instant Response
Results are returned instantly:
- via REST API
- optimized queries
- cache (if enabled)
4. Installation
Upload plugin ZIP in WordPress
Activate plugin
Go to:
AI Woo Search
Enter your OpenAI API Key
Click Save Settings
5. License Activation
Enter your license key
Click Activate
โ License binds to your domain
โ No manual validation needed after activation
6. Using the Search
Frontend Experience
Click floating search button
Type your request
Results appear instantly
Example Queries
- โBlack leather shoes under $100โ
- โGaming laptop with RTX 4060โ
- โMinimalist white sneakersโ
- โMenโs grey short sleeve shirtโ
7. Supported Search Types
โ Clothing
โ Electronics
โ General products
โ Technical specs
โ Price filters
โ Style-based queries
8. Accuracy & Matching Philosophy
๐ฏ Precision Over Guessing
AI Woo Search is designed to be precise, not approximate.
โ Shows only relevant products
โ Does NOT show โclose enoughโ results
Example
User searches:
โWomen Adidas running shoesโ
If store has:
- Adidas (men) โ
- Nike (women) โ
๐ Result:
0 products
Why this matters
Prevents:
- wrong purchases
- confusion
- poor UX
Traditional vs AI Search
| Traditional | AI Woo Search |
| Keyword-based | Intent-based |
| Partial matches | Strict matching |
| Often irrelevant | Highly precise |
๐ง How the system uses this data
The search engine:
- Matches user intent to WooCommerce categories and attributes
- Uses product titles and descriptions as additional signals
- Combines structured data + text to find the most accurate results
โ ๏ธ Important note (in simple terms)
If a product does not contain relevant information:
๐ It may not appear in search results
Example:
If a product has no color assigned and no description mentioning it,
a query like:
โred shirtโ
may not find that product.
โ Good news
You do NOT need any custom setup.
Everything works with:
โ Standard WooCommerce categories
โ Default product attributes
โ Regular product descriptions
๐ก Best practice
Think of AI Search as a smart layer on top of your catalog.
๐ The better your product data โ the better your search results
๐ Quick tip
Even small improvements help a lot:
- Add missing attributes (color, size)
- Use clear product titles
- Write short but descriptive product descriptions
9. Performance
โ Optimized queries
โ Smart caching
โ Minimal API calls
Search Result Limit
To keep the interface fast, clean, and easy to use, AI Woo Search displays only the top matching products instead of overwhelming shoppers with very large result lists.
In normal AI search mode, only the highest-ranked matching products are shown.
This improves usability, performance, and conversion.
10. Cost (Important)
Uses your own OpenAI API key.
Typical cost:
- ~$1โ2 per 1000 users
- ~$10โ40/month average
Depends on usage.
11. Troubleshooting
๐ด No results
โ Try simpler query
โ Check product categories
โ Check attributes
๐ด Wrong results
โ Verify product data
โ Ensure attributes are assigned
๐ AI cannot fix incorrect product data.
๐ด Too strict results
โ This is expected
The system requires full match.
๐ด API errors
โ Check API key
โ Check OpenAI balance
๐ด License issues
โ Verify domain
โ Re-activate license
๐ด โQuota exceededโ
โ Add payment method in OpenAI
โ Check usage limits
๐ด Why a specific product does not appear
This usually happens when the product does not fully match the search criteria.
Check:
โ Correct category assigned
โ Required attributes exist (color, size, etc.)
โ Product description contains relevant keywords
๐ AI Woo Search requires all important conditions to match.
If one condition is missing, the product may be excluded.
๐ด Results not updating
If you recently changed products:
โ Clear plugin cache
โ Or wait for cache TTL to expire
๐ Cached results may temporarily show outdated data.
๐How to Get Your OpenAI API Key
(Step-by-step guide for AI Woo Search Plugin users)
๐ What is this and why you need it?
AI Woo Search uses the OpenAI API to understand user queries.
๐ To make the plugin work, you need your own OpenAI API Key.
๐ Step-by-Step Instructions
1๏ธโฃ Go to OpenAI Platform
๐ Open this link in your browser:
๐ https://platform.openai.com/
2๏ธโฃ Sign In or Create Account
- If you already have an account โ Sign in
- If not โ click Sign up
3๏ธโฃ Open API Keys Page
Once logged in:
๐ Click this direct link:
๐ https://platform.openai.com/api-keys
4๏ธโฃ Create New API Key
- Click โCreate new secret keyโ
- Give it a name (optional), for example:
- WooCommerce AI Search
- Click Create
โ ๏ธ IMPORTANT
๐ You will see the key only once!
Example:
sk-abc123xyz456…
๐ Copy it immediately and store it safely.
5๏ธโฃ Add API Key to Plugin
Go to your WordPress admin:
AI Search โ Settings
Paste your key into:
OpenAI API Key
Click:
๐ Save Settings
๐ณ Do I need to pay OpenAI?
Yes, OpenAI API is usage-based.
Typical cost:
- ~$10โ40/month for medium traffic sites
- Depends on how often users search
๐ You can monitor usage here:
https://platform.openai.com/usage
๐ก๏ธ Security Tips
- โ Never share your API key publicly
- โ Do not expose it in frontend code
- โ Use it only in plugin settings
๐งช Test Your Setup
After adding the key:
- Open your website
- Click AI Search
- Type something like:
- black sneakers under $100
- You should see results instantly
โ๏ธ AI Woo Search โ Plugin Settings Guide
This section explains every setting available in the plugin and how it affects performance, cost, and user experience.
๐ OpenAI API Key
๐ This is your personal API key from OpenAI.
What it does:
- Enables AI-powered search
- Connects your website to OpenAI
Required:
โ Yes (plugin will not work without it)
Example:
sk-xxxxxxxxxxxxxxxxTips:
- Keep it private
- Do not share it publicly
- Use a separate key for this plugin
๐ค OpenAI Model
Default:
gpt-4.1-miniWhat it does:
Determines which AI model is used to interpret user queries.
Recommended:
gpt-4.1-miniโ โ best balance (cost + performance)
Alternatives:
- Faster/cheaper โ lighter models
- More accurate โ heavier models (higher cost)
Impact:
| Factor | Effect |
| Accuracy | โ better models = better results |
| Cost | โ higher models = more expensive |
| Speed | โ heavier models may be slower |
โฑ๏ธ Request Timeout (seconds)
Default:
20What it does:
Maximum time the plugin waits for AI response.
Example:
- If set to
20โ waits up to 20 seconds
Recommended:
- 15โ25 seconds
If too low:
โ requests may fail
If too high:
โ slow fallback behavior
โ๏ธ Max Query Length
Default:
150What it does:
Limits how long a user query can be.
Why important:
- Controls API cost
- Prevents abuse/spam
- Keeps responses fast
Example:
User cannot type more than 150 characters
Recommended:
- 100โ250
๐พ Enable Cache
โ EnabledWhat it does:
Stores:
- parsed AI intents
- search results
Benefits:
- โก Faster responses
- ๐ฐ Lower OpenAI cost
- ๐ Reuses previous searches
Recommended:
โ Always ON
โณ Cache TTL (minutes)
Default:
1440 (24 hours)What it does:
How long cached data is stored.
Example:
- 1440 = 24 hours
- 60 = 1 hour
Recommended:
| Use Case | TTL |
| Small store | 1440 |
| Dynamic pricing | 60โ180 |
| Large catalog | 720โ1440 |
๐จ Enable Animations
โ EnabledWhat it does:
Enables UI effects:
- floating search button
- panel transitions
- staggered results animation
Recommended:
โ ON for best UX
โฟ Respect Reduced Motion
โ EnabledWhat it does:
Detects user system preference:
- disables heavy animations if needed
Why important:
- Accessibility compliance
- Better UX for sensitive users
Recommended:
โ Always ON
๐ Debug Mode
โ Disabled (default)What it does:
Logs detailed internal activity to WordPress logs.
Includes:
- API responses
- errors
- pipeline steps
Use when:
- troubleshooting issues
- development/testing
Important:
โ ๏ธ Do NOT enable on production long-term
Widget Position
Defines where the floating AI Search button appears on the frontend. This helps prevent overlap with important store elements such as sticky add-to-cart buttons, bottom navigation, chat widgets, or mobile action bars.
Horizontal Offset (px)
Controls the horizontal spacing of the widget from its selected anchor position.
Vertical Offset (px)
Controls the vertical spacing of the widget from its selected anchor position.
Mobile Vertical Offset (px)
Lets the administrator increase the bottom spacing on mobile devices to avoid conflicts with sticky purchase buttons, cookie banners, or bottom navigation.
default values:
Widget Position โ Bottom Right
Horizontal Offset โ 24
Vertical Offset โ 24
Mobile Vertical Offset โ 24
Cache Maintenance
Cache Maintenance lets store administrators manually clear the pluginโs locally stored AI cache at any time.
When caching is enabled, the plugin stores parsed search intents and cached product search results in the local database to improve speed and reduce repeated API usage. Over time, this cache may contain outdated or less relevant data, especially after catalog updates, attribute changes, product removals, or major pricing/content edits.
The Clear Cache action removes all stored AI intent cache and cached search results from the local database. This is useful when:
- product data has changed significantly,
- categories, attributes, or brand mappings were updated,
- search results need to be refreshed immediately,
- the administrator wants to force the plugin to rebuild search data from scratch.
This action does not affect products, orders, licenses, or plugin settings. It only clears cached AI search data.
๐ Recommended Default Configuration
| Setting | Value |
| Model | gpt-4.1-mini |
| Timeout | 20 |
| Max Query Length | 150 |
| Cache | ON |
| Cache TTL | 1440 |
| Animations | ON |
| Reduced Motion | ON |
| Debug Mode | OFF |
๐ง Performance & Cost Tips
- Enable cache โ reduces API cost by up to 70%
- Limit query length โ prevents unnecessary tokens
- Use
gpt-4.1-miniโ best cost/performance ratio
โ ๏ธ Common Mistakes
โ Missing API key
โ Cache disabled (high cost)
โ Too long queries
โ Debug mode left ON
๐ Summary
These settings control:
- โก Speed
- ๐ฐ Cost
- ๐ฏ Accuracy
- ๐จ User Experience
Proper configuration ensures your AI search is fast, affordable, and reliable.