wp_wc_create_product_variation is an MCP tool for WooCommerce — available inside Easy MCP AI, the WordPress plugin that connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

wp_wc_create_product_variation

Destructive

Create a variation for a variable product

Requires WooCommerce plugin.

Description

Variable products get complex fast — each new size or color combination needs its own price, SKU, stock count, and sometimes a unique image. Easy MCP AI lets you add those variations through a simple AI prompt instead of the multi-step WooCommerce variation editor. Describe the attributes, price, and stock to n8n, Gemini CLI, or any MCP-compatible AI assistant, and the new variation is created in your live store immediately. WooCommerce must be installed and active for this tool to work.

See it in action

Claude Desktop — MCP Connection
👤
Add a new variation to product ID 45 for size 'Large' and color 'Blue' with a price of $29.99 and 30 units in stock.
🤖
Tool called wp_wc_create_product_variation

Done. I've used wp_wc_create_product_variation to complete that for you.

Example Use Cases & Sample Prompts

  1. Add a new size variant
    • Prompt: “Create a variation for product ID 45 with attribute size ‘XL’, price $34.99, and 20 units in stock.”
  2. Add a color variant with its own image
  3. Create a discounted bundle variant
    • Prompt: “Add a variation to product ID 72 for pack size ‘3-pack’ with a regular price of $49.99 and sale price of $39.99.”

Frequently Asked Questions

What does wp_wc_create_product_variation do?

Variable products get complex fast — each new size or color combination needs its own price, SKU, stock count, and sometimes a unique image. Easy MCP AI lets you add those variations through a simple AI prompt instead of the multi-step WooCommerce variation editor. Describe the attributes, price, and stock to n8n, Gemini CLI, or any MCP-compatible AI assistant, and the new variation is created in your live store immediately. WooCommerce must be installed and active for this tool to work.

How do I use wp_wc_create_product_variation with my AI assistant?

Install Easy MCP AI and the WooCommerce plugin, generate an API token in your dashboard, and connect your AI client. Then describe what you want in natural language — for example: "Add a new variation to product ID 45 for size 'Large' and color 'Blue' with a price of $29.99 and 30 units in stock."

Do I need Easy MCP AI to use wp_wc_create_product_variation?

Yes. wp_wc_create_product_variation is bundled inside Easy MCP AI as part of the WooCommerce integration. Install the free plugin, add WooCommerce, connect your AI, and this tool is available immediately.

Step 1

Get the Plugin

Install Easy MCP AI on your WordPress site to unlock wp_wc_create_product_variation and all WooCommerce tools instantly.

Download Free Plugin

Step 2

Connect Your AI Client

Already have the plugin? Step-by-step setup guides for Claude, ChatGPT, Cursor, and 10+ more.

View Setup Guides →

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.