Title: ShopMate &#8211; AI Chatbot for WooCommerce
Author: lazywp
Published: <strong>2026 年 8 月 19 日</strong>
Last modified: 2026 年 8 月 19 日

---

搜尋外掛

![](https://ps.w.org/shopmate/assets/banner-772x250.png?rev=3655225)

![](https://ps.w.org/shopmate/assets/icon-256x256.png?rev=3655225)

# ShopMate – AI Chatbot for WooCommerce

 由 [lazywp](https://profiles.wordpress.org/lazywp/) 開發

[下載](https://downloads.wordpress.org/plugin/shopmate.1.0.0.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/shopmate/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/shopmate/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/shopmate/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/shopmate/#developers)

 [技術支援](https://wordpress.org/support/plugin/shopmate/)

## 外掛說明

ShopMate adds an intelligent chat widget to your WooCommerce store. When customers
ask questions, AI responds instantly with helpful answers based on your product 
catalog.

**Features:**

 * AI chat widget on the storefront
 * Uses the built-in WordPress AI Client on WordPress 7.0 and newer
 * Google Gemini support with your own API key on WordPress 6.x
 * Unlimited chat messages
 * WooCommerce product context in replies
 * Customizable welcome message, bot name, and widget design
 * Streaming replies

**How ShopMate reaches an AI model**

ShopMate has two paths, and the one it uses depends on your WordPress version.

_Recommended — WordPress AI Client (WordPress 7.0+)_

On WordPress 7.0 and newer, ShopMate uses the AI Client built into WordPress core.
ShopMate describes the prompt; WordPress routes it to whichever AI provider you 
connected under **Settings  Connectors**. In this mode ShopMate stores no API keys,
contacts no AI provider directly, and has no hardcoded provider endpoints. Which
company receives the data is entirely your choice, and their terms and privacy policy
apply. This is the default for new installs on WordPress 7.0+.

_Fallback — Google Gemini direct (WordPress 6.x)_

WordPress versions before 7.0 have no AI Client, so ShopMate keeps a direct Google
Gemini integration for them. It is opt-in: nothing is sent until you enter your 
own key.

 * **Service name:** Google Gemini (Google AI / Generative Language API)
 * **What it is used for:** Generating AI chat replies for store customers
 * **API key required:** Yes. You must create your own Google Gemini API key and
   save it under **ShopMate  Settings**. The plugin will not call Google without
   your key.
 * **Endpoint contacted:** `https://generativelanguage.googleapis.com/v1beta/models/{
   model}:generateContent`
 * **Get an API key:** [Google AI Studio](https://aistudio.google.com/apikey)
 * **Service homepage:** [Google AI for Developers](https://ai.google.dev/)
 * **Terms of Service:** [Google APIs Terms of Service](https://developers.google.com/terms)
 * **Privacy Policy:** [Google Privacy Policy](https://policies.google.com/privacy)

**Data sent to the AI provider**

Whichever path is active, a chat message sends the following to the provider:

 * The customer’s message text
 * Recent chat history for that conversation (if any)
 * Store / product context and any custom instructions you configured

ShopMate does not create accounts on your behalf, does not proxy traffic through
ShopMate servers, and sends nothing until you either connect a provider under Settings
Connectors or add your own Gemini API key. You are responsible for the provider’s
usage limits, billing, and terms.

**Optional Pro add-on**

A separate commercial add-on (ShopMate Pro) can add extra AI providers, voice input,
contact forms, chat history, analytics, order lookup, one-click coupon apply from
chat, and photo search for similar products. The free plugin works fully on its 
own.

## 安裝方式

 1. Install and activate WooCommerce
 2. Upload the `shopmate` folder to `/wp-content/plugins/`
 3. Activate the plugin through the Plugins menu in WordPress
 4. Connect an AI provider:
 5.  * On WordPress 7.0+, go to **Settings  Connectors**, install a provider plugin
       such as AI Provider for Google, and add your key there. ShopMate picks it up
       automatically.
     * On WordPress 6.x, go to **ShopMate  Settings**, choose Google Gemini, and add
       your Gemini API key.
 6. Visit your store — the chat widget appears in the bottom-right corner

## 常見問題集

### Which AI providers are supported?

On WordPress 7.0+, ShopMate works with any provider you connect under **Settings
Connectors**, including the official Anthropic, Google, and OpenAI provider plugins.
On WordPress 6.x, the free plugin supports Google Gemini with your own API key. 
Additional providers are available in the optional Pro add-on.

### Do I need my own API key?

Yes, but on WordPress 7.0+ you give it to WordPress, not to ShopMate. Add it under**
Settings  Connectors** and ShopMate never sees or stores it. On WordPress 6.x, add
a Google Gemini key under **ShopMate  Settings**. Without either, chat replies cannot
be generated.

### What data is shared with the AI provider?

Customer chat messages, optional conversation history, and the store/product context
you configure are sent to the provider so replies can be generated. On WordPress
7.0+ that provider is whichever one you connected; on WordPress 6.x it is Google
Gemini. See Google’s [Terms](https://developers.google.com/terms) and [Privacy Policy](https://policies.google.com/privacy)
if you use Gemini.

### Does ShopMate still call Google directly on WordPress 7.0?

No. When the WordPress AI Client is available it is the default, and all requests
go through core. The direct Gemini integration only runs if you are on WordPress
6.x, or if you deliberately select Google Gemini as the active provider.

### Does it work with WooCommerce?

Yes. ShopMate requires WooCommerce and uses your product catalog to answer customer
questions.

### Is there a message limit?

No. The free plugin does not limit chat volume. Google may bill you based on your
Gemini API usage.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈ShopMate – AI Chatbot for WooCommerce〉的開發相關工作。

參與者

 *   [ lazywp ](https://profiles.wordpress.org/lazywp/)

[將〈ShopMate – AI Chatbot for WooCommerce〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/shopmate)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/shopmate/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/shopmate/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/shopmate/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/shopmate/)。

## 變更記錄

#### 1.0.0

 * Initial release.
 * AI chat widget for WooCommerce stores with unlimited messages, product-aware 
   replies, streaming responses, and widget customization.
 * WordPress AI Client provider on WordPress 7.0+: credentials stay in Settings  
   Connectors and ShopMate contacts no AI provider directly. This is the default
   on WordPress 7.0 and newer.
 * Direct Google Gemini integration for WordPress 6.x (bring your own API key).
 * Per-visitor rate limiting on chat endpoints, configurable with the `shopmate_rate_limit`
   and `shopmate_rate_limit_window` filters.
 * REST input validation and escaped product price markup in chat replies.
 * Conversation history from the chat widget cannot include a `system` role.
 * Optional ShopMate Pro add-on for extra providers, tools, and photo search.

## 中繼資料

 *  版本 **1.0.0**
 *  最後更新 **2 週前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 6.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0.4**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/shopmate/)
 * 標籤:
 * [AI](https://tw.wordpress.org/plugins/tags/ai/)[chatbot](https://tw.wordpress.org/plugins/tags/chatbot/)
   [customer support](https://tw.wordpress.org/plugins/tags/customer-support/)[live chat](https://tw.wordpress.org/plugins/tags/live-chat/)
   [woocommerce](https://tw.wordpress.org/plugins/tags/woocommerce/)
 *  [進階檢視](https://tw.wordpress.org/plugins/shopmate/advanced/)

## 評分

這個項目尚無任何評論記錄。

[撰寫評分](https://wordpress.org/support/plugin/shopmate/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/shopmate/reviews/)

## 參與者

 *   [ lazywp ](https://profiles.wordpress.org/lazywp/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/shopmate/)