wp_wc_delete_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_delete_product_variation

Destructive

Permanently delete a variation (force=true, immediate, irreversible)

Requires WooCommerce plugin.

Description

When a variation is discontinued or was added by mistake, wp_wc_delete_product_variation removes it permanently in one call. Deletion is immediate and irreversible (force=true) — there's no trash for variations. Past orders that included this variation are preserved, so historical reporting stays intact. Combine with wp_wc_list_product_variations to confirm IDs before deleting, or with wp_wc_batch_update_variations to delete several variations under one parent in a single batch.

See it in action

Claude Desktop — MCP Connection
👤
Delete variation 412 from product 380 — we discontinued that size.
🤖
Tool called wp_wc_delete_product_variation

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

Example Use Cases & Sample Prompts

  1. Discontinue a variation
    • Prompt: “Delete variation 412 from product 380 — we discontinued that size.”
  2. Remove a mistaken variation
    • Prompt: “Delete variation 765 from product 700 — it was created by accident.”
  3. Color cleanup
    • Prompt: “Delete the ‘red’ variation 234 from product 88 — we’re dropping that color.”
  4. Stale SKU removal
    • Prompt: “List variations under product 500, then delete the one with SKU ‘OLD-XL-2022’.”
  5. Final cleanup before relaunch
    • Prompt: “Delete variation 1500 of product 1200 ahead of the catalog refresh.”

Frequently Asked Questions

What does wp_wc_delete_product_variation do?

When a variation is discontinued or was added by mistake, wp_wc_delete_product_variation removes it permanently in one call. Deletion is immediate and irreversible (force=true) — there's no trash for variations. Past orders that included this variation are preserved, so historical reporting stays intact. Combine with wp_wc_list_product_variations to confirm IDs before deleting, or with wp_wc_batch_update_variations to delete several variations under one parent in a single batch.

How do I use wp_wc_delete_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: "Delete variation 412 from product 380 — we discontinued that size."

Do I need Easy MCP AI to use wp_wc_delete_product_variation?

Yes. wp_wc_delete_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_delete_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.