| 开发者 | mugamathubathusha |
|---|---|
| 更新时间 | 2026年9月6日 16:10 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wp-config.php and functions.php: letting the AI answer "where's my order?" for a signed-in customer — safely.
What it does
Matrixweave.init() so the widget can prove who the customer is. The AI unlocks order history for that verified customer only.MATRIXWEAVE_SECRET_KEY constant in wp-config.php to keep it out of the database entirely.
Third-party service (Matrixweave)
This plugin is a connector to Matrixweave, a third-party AI service that powers the chat agent. The AI runs on Matrixweave's servers, so the plugin requires a Matrixweave account and sends data to Matrixweave to work:
https://www.matrixweave.com/widget.js on pages where the chat is shown.https://api.matrixweave.com) to generate the AI's replies.https://www.matrixweave.com/connect with your site's address and a random one-time value, so the account you sign in to there can be linked back to this site. Nothing is sent until you press that button — activating the plugin contacts nothing./wp-content/plugins/ (or install the ZIP via Plugins → Add New → Upload).pk_...) and Secret key (sk_...) into the keys section, and use Generate WooCommerce API key to connect your catalog manually.No. The Secret key is used only server-side to sign identities. It is never enqueued, printed, or sent to the browser. You can also define it as a MATRIXWEAVE_SECRET_KEY constant in wp-config.php.
No. Leave Embed the widget on and the plugin loads it for you. If you already embed it yourself, turn that option off to avoid loading it twice.
Yes. The plugin declares HPOS and checkout-blocks compatibility and only reads customer session data.
Yes. Guests get the normal AI agent. Order lookups only activate for logged-in customers whose identity can be verified.
Yes. On a plain WordPress site — a services, trading or membership business — the widget embed and signed-in member identity (greet by name, personalized memory) work exactly the same; the plugin settings appear for administrators. Only the one-click API-key generation and order lookups need WooCommerce. Connect your catalog/price list in Matrixweave via CSV, Google Sheet or manual entry instead.
matrixweave_ (previously mw_), so it cannot collide with another plugin's cached data. Admin field IDs use the same full prefix. No change to behaviour or settings.