AI Content Generator for WooCommerce

描述

AI Content Generator for WooCommerce helps you automatically generate high-quality product content using OpenAI (ChatGPT), Google Gemini, or Anthropic APIs. Generate featured images, gallery images, brands, tags and product descriptions with different tones to match your brand voice.

Features

  • Generate product featured images
  • Create product gallery images
  • Generate product descriptions with different tones
  • Generate short descriptions
  • Multiple tone options for descriptions:
    • Formal & Professional
    • Casual & Friendly
    • Persuasive & Sales-focused
    • Technical & Detailed
    • Luxury & Premium
    • Creative & Engaging
  • Product Brands Generation: Generate relevant brand suggestions based on product information
  • Product Tags Generation: Generate SEO-friendly tags and keywords for better product discoverability
  • AI-Generated Content Badge: Optionally display a customisable notice on the product page for AI-generated content
  • WordPress Abilities API integration (WordPress 6.9+): All generation features are registered as discoverable, typed Abilities
  • MCP Adapter support: Expose all Abilities as MCP tools for AI agents (Claude Desktop, Cursor, Claude Code, VS Code)
  • Create and manage products via AI agents: draft creation (webtoffee-ai/create-product-draft), optional publish flows when content is already reviewed (webtoffee-ai/create-product-published, webtoffee-ai/publish-product-draft)
  • Create shop coupons via AI agents: webtoffee-ai/create-shop-coupon for percentage or fixed discounts, with optional fixed-cart vs fixed-product scope
  • Debug mode for troubleshooting
  • Easy-to-use interface integrated directly into the WooCommerce product edit page

External services

This plugin connects to the OpenAI API to generate product images and text content.

It sends the product title, description, categories, and tags to the API to generate images and text.

This service is provided by OpenAI:
* Terms of use: https://openai.com/policies/terms-of-use/
* Privacy policy: https://openai.com/policies/row-privacy-policy/

WordPress Abilities API & MCP Adapter

On WordPress 6.9 or higher, this plugin registers the following Abilities:

  • webtoffee-ai/generate-product-description
  • webtoffee-ai/generate-product-short-description
  • webtoffee-ai/generate-product-image
  • webtoffee-ai/generate-product-brands
  • webtoffee-ai/generate-product-tags
  • webtoffee-ai/mark-product-ai-generated
  • webtoffee-ai/create-product-draft
  • webtoffee-ai/create-product-published (creates a simple product and publishes immediately — use only after human review)
  • webtoffee-ai/publish-product-draft (publishes an existing draft product by ID)
  • webtoffee-ai/create-shop-coupon (create a WooCommerce coupon: title/code, percent or fixed discount, optional fixed cart vs fixed product scope)

To enable AI agent access via Claude Desktop, Cursor, Claude Code, or VS Code, install the MCP Adapter either by running the following command inside this plugin’s directory:

composer require wordpress/mcp-adapter

or by activating the standalone MCP Adapter plugin from wordpress.org if you prefer not to use Composer here.

See the MCP Adapter documentation for connection configuration examples.

Requirements

  • WordPress 5.0 or higher
  • WooCommerce 4.0 or higher
  • PHP 7.4 or higher
  • ChatGPT API key
  • WordPress 6.9+ and the MCP Adapter package (Composer: composer require wordpress/mcp-adapter in this plugin’s directory, or install the standalone MCP Adapter plugin) for AI agent / MCP support (optional)

Support

For support queries, please visit our support forum or contact us directly.

屏幕截图

  • Settings page with API key, debug mode, and AI badge configuration
  • Generate featured and gallery images from the product edit page

安装

  1. Upload the plugin files to /wp-content/plugins/ai-content-generator-for-woocommerce
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to WooCommerce > AI Content Generator
  4. Enter your ChatGPT API key
  5. Start generating content from the product edit page

For MCP / AI agent support (optional):
1. Install MCP Adapter dependencies: either run composer require wordpress/mcp-adapter in this plugin’s directory, or install and activate the standalone MCP Adapter plugin
2. Configure your AI client (Claude Desktop, Cursor, etc.) to connect to the webtoffee-ai-mcp-server MCP server

常见问题

Do I need a ChatGPT API key?

Yes, you need a valid ChatGPT API key to use this plugin. You can obtain one from the OpenAI platform.

Can I customise the image generation style?

The plugin uses product details including title, categories, and tags to generate contextually relevant images with a professional product photography style.

What image sizes are generated?

The plugin generates images at 1024×1024 pixels, suitable for most e-commerce needs.

What is the AI-Generated Content Badge?

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.

What is the WordPress Abilities API / MCP Adapter?

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.

Can AI agents publish products directly?

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.

评价

此插件暂无评价。

贡献者及开发者

「AI Content Generator for WooCommerce」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「AI Content Generator for WooCommerce」插件已被翻译至 2 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「AI Content Generator for WooCommerce」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.7

  • Added webtoffee-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 response
  • Admin notices for missing Abilities API (WordPress before 6.9) and missing MCP Adapter now use dismissible wp_admin_notice() output
  • MCP Adapter detection: treats the standalone MCP Adapter plugin (mcp-adapter/mcp-adapter.php) as installed, not only the Composer vendor package
  • MCP server metadata version aligned with the plugin release

1.0.6

  • Registered plugin’s generation features as WordPress Abilities (WP 6.9+) under webtoffee-ai-content, with centralized Helper static methods and thin AJAX/Ability handlers
  • Added MCP support: custom webtoffee-ai-mcp-server, composer.json integration (composer require wordpress/mcp-adapter), meta.mcp.public => true, and admin notices for missing Abilities API or MCP Adapter package
  • Expanded product creation/publishing capabilities for AI agents: webtoffee-ai/create-product-draft, webtoffee-ai/create-product-published, and webtoffee-ai/publish-product-draft
  • Enhanced product creation flow with full WooCommerce CSV field support, shared schema methods, and consolidated Helper implementations (create_product, publish_product, taxonomy/image helpers)

1.0.5

  • Added AI-Generated Content Badge: optional frontend notice for AI-generated descriptions, with customisable message
  • Added “Show AI Badge” and “Badge Message” fields to the settings page
  • Added _wtofe_ai_generated post meta flag, set automatically when a description is applied
  • Refactored plugin to follow WordPress Plugin Boilerplate directory structure
  • Extracted shared logic into Helper, Loader, I18n, Admin, and Public classes
  • HTML extracted from PHP methods into dedicated partial files
  • All direct API calls removed from AJAX handlers — centralised into Helper
  • Tested OK with WooCommerce 10.3.5
  • Tested OK with WordPress 6.9

1.0.4

  • Tested OK with WooCommerce 10.2

1.0.3

  • Tested OK with WooCommerce 10.0.2
  • Added product brands generation functionality
  • Added product tags generation functionality

1.0.2

  • Tested OK with WordPress 6.8 and WooCommerce 9.8

1.0.1

  • Fixed issue with image generation not working on product edit page
  • Set image alt text, caption, and description to product name

1.0.0

  • Initial release
  • Featured image generation
  • Gallery image generation
  • Product description generation with multiple tones
  • Debug mode
  • WooCommerce integration