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
DestructiveCreate 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
wp_wc_create_product_variation Done. I've used wp_wc_create_product_variation to complete that for you.
Example Use Cases & Sample Prompts
- 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.”
- Add a color variant with its own image
- Prompt: “Add a variation to product ID 60 for color ‘Red’ with its own product image at https://example.com/red-shirt.jpg.”
- 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.
More WooCommerce Tools
Create a coupon (percent, fixed_cart, or fixed_product)
Create a new customer account
Create an order programmatically
Add a note to an order
Create a product (simple, variable, grouped, or external)
Create a webhook for a specific event topic
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.
Step 2
Connect Your AI Client
Already have the plugin? Step-by-step setup guides for Claude, ChatGPT, Cursor, and 10+ more.