Skip to main content
Cookbook WooCommerce WooCommerce

Bulk-Add Size or Color Variations to a Whole Category with AI

Convert a whole category of simple products to variable and generate size or color variations in one guided pass, with a dry run you approve first.

Difficulty Intermediate
Time ~20 min
Tools rest_api

Prerequisites

A connected site with WooCommerce active, a recent store backup, and a product category whose items should share the same variations.

The prompt
Convert every simple product in my "[Category Name]" category into a variable product and add a [Size] attribute with the options [Small, Medium, Large]. Keep each product's current price as the price for every variation, unless I give you a different price per option.

This changes product structure, so before you touch anything: remind me to back up my store, then confirm how many products are in that category and which are already variable, and skip those.

Now do a dry run on the first product only. Show me what it will become, the attribute, the variations, and their prices, and do not change the rest until I say go.

Once I approve, convert the remaining products the same way, using a global attribute so the sizes are shared and filterable rather than a one-off per product. When you finish, list every product you changed with its new variation count so I can spot-check them in the product editor.

Already connected to WPVibe?

Skip the copy-paste. Just ask your AI for the “Bulk-Add Size or Color Variations to a Whole Category with AI” recipe, or describe the task, and WPVibe runs these steps on your own site.

You decide every shirt should come in Small, Medium, and Large, or every mug in three colors. In WooCommerce that means opening each product, switching it to a variable product, adding the attribute, and generating variations one at a time. For a category of twenty items it is an afternoon of clicking, so it never gets done and shoppers cannot pick a size.

WPVibe takes one category and one attribute, converts every simple product in it to a variable product, attaches the attribute for variations, and generates them with prices carried over. Because this rewrites product structure, it runs a dry run first on a single product to prove the pattern, and only continues once you approve. Nothing changes on the rest of the category until you say go.

Name the category, the attribute, and its options, and say whether prices change per variation. Back up your store first, since converting product type is not a one-click undo. Approve the single-product sample, let it run the rest, and it lists every product it changed with its new variation count so you can spot-check them in the editor.

Outcome

Every simple product in your chosen category converted to a variable product with the shared attribute and its variations generated, listed back for you to spot-check.