

Admin settings page showing API configuration and customization options
** Smarter Search for Products & Posts ** enhances the standard search in WordPress and WooCommerce by using AI, powered by the Groq API.
Natural language queries are parsed into structured JSON filters (category, name, price, SKU), producing more relevant search results for products and content.
If AI processing fails or times out, the plugin automatically falls back to the built‑in WooCommerce/WordPress search.
Features
* Extracts product name, category, min_price, and max_price from natural language queries.
* SKU-aware:
* Exact SKU direct redirect to product page.
* Partial SKU product search with SKU filter.
* Mixed results template: display products + posts/pages together.
* Customizable form styling: adjustable input width/height, aligned margins.
* Multisite compatible with network activation.
* Graceful fallback: if the AI API fails, plugin reverts to standard search.
This plugin connects to the Groq API.
The plugin sends only the user’s search query text to Groq in order to compute structured search parameters.
No personal or identifying user data is sent.
The Groq API Terms of Service and Privacy Policy apply to data transmitted through this plugin.
You must provide your own Groq API key, available free at https://console.groq.com/keys.
(Optional) Update the system prompt to customize JSON extraction. Example:
json
{"category":"hiking-boots","name":"waterproof","min_price":50,"max_price":200}
Customize search input dimensions and styling options.
[crashguru_search] to display the search form anywhere on your site.Basic Search Examples:
* “red shoes under $100” Finds red shoes with max price $100
* “SKU12345” Direct redirect to product with that exact SKU
* “wireless headphones” AI extracts relevant product attributes
* “hiking gear in outdoor category” Searches outdoor category for hiking-related products
Shortcode Usage:
[crashguru_search placeholder=”Your Placeholder Text”]