[WordPress] 外掛分享: Smarter Search for Products & Posts

WordPress 外掛 Smarter Search for Products & Posts 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Smarter Search for Products & Posts」是 2026-02-11 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2026-02-12,距離現在已有 13 天。
  • 外掛最低要求 WordPress 5.6 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

crashguru |

外掛標籤

sku | ai search | wc-search | wp search | woocommerce |

內容簡介

** Smarter Search for Products & Posts ** 是一款使用 Groq API 提供的人工智慧技術,來增強 WordPress 和 WooCommerce 的標準搜尋功能。透過將自然語言查詢解析成結構化的 JSON 篩選器(類別、名稱、價格、SKU),使產品和內容的搜索結果更加相關。

1. 這個外掛如何提升了 WordPress 和 WooCommerce 的標準搜索功能?
- 透過使用人工智慧技術,並以 Groq API 為動力來改進搜尋結果的相關性。
- 將自然語言查詢轉換成結構化的 JSON 篩選器,包括類別、名稱、價格、SKU,從而產生更精確的搜索結果。

2. 如果人工智慧處理失敗或超時,這個外掛會有什麼應對措施?
- 外掛將自動回退到內建的 WooCommerce/WordPress 標準搜索功能。

3. 這個外掛具備哪些特點和功能?
- 提取商品名稱、類別、最低價格和最高價格的能力。
- 對 SKU 意識性的處理:完整的 SKU 將直接重定向到產品頁面,部分的 SKU 將進行帶有 SKU 篩選器的產品搜索。
- 混合結果模板可以一起顯示產品和文章/頁面。
- 可自定義表單樣式,包括可調整的輸入寬度/高度和對齊的邊距。
- 多站點相容並支持網絡啟用。
- 萬一人工智慧 API 失敗,外掛將回歸標準搜索。

4. 外掛如何與 Groq API 連接?
- 外掛僅將用戶的搜索查詢文本發送給 Groq,以計算結構化搜索參數。
- 不會發送任何個人或識別用戶資料。
- Groq API 的服務條款和隱私政策適用於通過這個外掛傳輸的數據。

5. 如何配置外掛?
- 前往設置 → Smarter Search for WooCommerce and WordPress Posts.
- 輸入您的 Groq API 金鑰(在https://console.groq.com/keys可免費獲得)。
- 選擇您偏好的LLM模型和溫度。
- (可選)更新系統提示以自定義 JSON 提取。

6. 通過哪個簡碼可以在網站的任何位置顯示搜索表單?
- 使用簡碼[crashguru_search]。

原文外掛簡介

** 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.
External Service Disclosure
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.
Configuration

Go to Settings → Smarter Search for WooCommerce and WordPress Posts.
Enter your Groq API Key (available at https://console.groq.com/keys).
Choose your preferred LLM model and temperature.

(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.

Use the shortcode [crashguru_search] to display the search form anywhere on your site.

Usage
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”]

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Smarter Search for Products & Posts」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.0 | trunk |

延伸相關外掛(你可能也想知道)

  • WP Quick Search 》WP Quick Search 是一個輕量級的基於 AngularJS 的搜尋外掛程式。您可以在您的網站上使用此外掛程式,實現即時且非常快速的搜尋功能。, * 外掛程式使用方法, ...。
  • Fueto 》Fueto 為您的讀者在 WP blog 內進行搜尋時提供相關的社交結果。Fueto 使用社交力量替代默認搜索,將最適配的文章展示給您的讀者,並向您的最具爆發力的文章(...。

文章
Filter
Apply Filters
Mastodon