| 开发者 | webtoffee |
|---|---|
| 更新时间 | 2026年7月1日 15:25 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
webtoffee-ai) for easy troubleshooting.
Settings Overview
The plugin settings are organised across four tabs:
/wp-content/plugins/ai-content-generator-for-woocommercecomposer require wordpress/mcp-adapterhttps://your-site.com/wp-json/mcp/mcp-adapter-default-server/You need credentials for at least one supported AI provider to use the plugin. Configure an AI Connector under WordPress › Settings › AI (OpenAI, Google Gemini, or Anthropic), or enter a custom OpenAI API key in the plugin settings. When an AI Connector is configured, no per-plugin key entry is required.
The plugin uses product details including title, categories, and tags to generate contextually relevant images with a professional product photography style.
The plugin generates images at 1024x1024 pixels, suitable for most e-commerce needs.
When enabled in settings, a small notice is displayed below AI-generated product descriptions on the frontend, informing customers that the content was generated with AI assistance. The message is fully customisable.
The WordPress Abilities API (introduced in WP 6.9) provides a standard way to register and expose plugin functionality to AI systems and automation tools. The MCP Adapter builds on this to let AI clients like Claude Desktop and Cursor discover and call plugin features directly. Both are optional — the plugin works fully without them.
The webtoffee-ai/create-product-draft ability always creates new products as drafts for review. If your workflow allows it, separate abilities can publish: webtoffee-ai/create-product-published creates a new product already published, and webtoffee-ai/publish-product-draft publishes an existing draft by product ID. All of these require a user with the manage_woocommerce capability; use publish abilities only when a human has approved the content.
mcp-adapter-default-server) exclusivelywebtoffee-ai/create-bogo, webtoffee-ai/list-bogos, webtoffee-ai/toggle-bogo, webtoffee-ai/trash-bogo, webtoffee-ai/restore-bogo, webtoffee-ai/delete-bogo, and webtoffee-ai/duplicate-bogowebtoffee-ai/search-product-id, webtoffee-ai/update-product, webtoffee-ai/delete-product, and webtoffee-ai/update-order-status Abilities for AI agentswebtoffee-ai/create-shop-coupon Ability and MCP tool: create WooCommerce coupons with percent or fixed discount, optional fixed-cart vs fixed-product scope, duplicate-code handling, and admin edit link in the responsewp_admin_notice() outputmcp-adapter/mcp-adapter.php) as installed, not only the Composer vendor packagewebtoffee-ai-content, with centralized Helper static methods and thin AJAX/Ability handlersmcp-adapter-default-server, composer.json integration (composer require wordpress/mcp-adapter), meta.mcp.public => true, and admin notices for missing Abilities API or MCP Adapter packagewebtoffee-ai/create-product-draft, webtoffee-ai/create-product-published, and webtoffee-ai/publish-product-draftcreate_product, publish_product, taxonomy/image helpers)_wtofe_ai_generated post meta flag, set automatically when a description is applied