WooCommerce – How to Combine Simple Products into a Variable Product

In this tutorial, we’ll show you how to combine simple WooCommerce products into a variable product. Basically, we’ll convert simple products into variations, and then we’ll merge them into a variable product.

Maybe you’ve decided to combine all small Nike shirts into a variable product called Nike Shirts, so the customers just select the variation they want, instead of opening several products.

For this, we’ll need to use the WooCommerce Products Spreadsheet plugin. It displays all your WooCommerce products on a spreadsheet and allows you to apply massive changes to them using the Bulk Edit tool.

Also, you can convert simple products into variations, combine them into a variable product, or transfer variations from one parent product to another.

This process is perfect if you want to combine products and keep the IDs to avoid breaking the existing orders.

Once installed and activated, follow these simple steps:

Step 1. Create global attributes for the products

You need to create product global attributes like colors, sizes, etc. Just go to Products > Attributes and create them.

For example, we’ve created three product Colors: Black, White, and Red.

woocommerce-how-combine-simple-products-variable-product

Step 2. Open the products spreadsheet

You need to open the products spreadsheet by going to WP Sheet Editor > Edit Products.

You’ll see all your products and their complete information displayed on the spreadsheet.

woocommerce-how-combine-simple-products-variable-product

Step 3. Create a new variable product

We’ll merge these three simple products into a variable product:

  • Black Shirt – Nike
  • White Shirt – Nike
  • Red Shirt – Nike

Combine simple Woocommerce products into a variable product

We need to create a new variable product. For that, select the number of rows you want to create and click on Add New on the toolbar. This will create a new row that we’ll configure as a variable product.

woocommerce-how-combine-simple-products-variable-product

We’ll name this new product Nike Shirts.

Now select these values in the following columns:

  • Type: variable
  • Product Color: Black, White, Red
  • Click on Save to apply the changes

Combine simple Woocommerce products into a variable product

Step 4. Combine simple Woocommerce products into variations

To convert the products into variations, you need to change the post type and select the parent product, and assign a color.

NOTE: Keep in mind that the selected products will be converted to variable products, which means they will no longer be found as simple products because we are not duplicating them but rather turning simple products into variations.

Combine simple Woocommerce products into a variable product

  • Post Type: product_variation
  • Page Parent: Paste the title of the parent product; in this case, it’s Nike Shirts.
  • Product Color: Select the color for each variation
  • Click on Save to apply the changes.

Transfer variations from one parent product to another

If you need to move variations from one parent product to another, you may do it quickly using a spreadsheet or in bulk using a database.

In any scenario, go to the “Product attributes” column and double-check that the new parent product has the attributes of the variants you’ll be adding.

check-product-attributes-woocommerce

Check if the “Used for variation?” option is enabled. If not, this is the time to add the attributes and allow them to be used on variations.

check-product-attributes-woocommerce-or-add-them

You can also find and edit the attributes in the attribute columns, such as “Product color” and “Product size” depending on the attributes you have created.

check-product-attributes-woocommerce-or-add-them-1

a) Change variations from one parent product to another using the spreadsheet

To individually move the variations from one parent product to another, go to the “Page parent” column and enter the name of the new parent product to which these product variables will now belong.

Finally, save changes.

change-parent-for-variations

b) Move the variations between parent products in bulk

If you want to migrate several existing variable products from one parent product to another, you must first choose the variations you want to transfer and then open the Bulk edit tool.

select variations to bulk change parent product

Once the tool is open, select the following values:

bulk-change-variations-from-parent-product

  • Select the rows that you want to update: Edit the rows that I selected manually in the spreadsheet
  • What field do you want to edit: Page parent
  • Select type of edit: Set value
  • Replace existing value with this: Enter the new parent product name
  • Edit variations only
  • Click on Execute now.

After running the bulk edit, the selected variations will belong to a new parent product.

bulk-change-variations-from-parent-product-result

Optional. Set the variation price, SKU, and manage stock

When you combine the products, the variations will continue using the old stock, price, SKU, and image from the product before the conversion.

However, you can enable the option to manage stock, add new stock, regular price, SKU, image, etc. to the variations. You can edit all the information.

Finally, click on Save to apply the changes.

woocommerce-how-combine-simple-products-variable-product

Once you save the changes, you can click on Display variations on the toolbar, and the spreadsheet will reload. The variations will be displayed next to the parent product.

combine simple products into variable

This is how the customers will see the Nike Shirts product in the store.

Combine simple Woocommerce products into a variable product

Thank you for taking the time to read our article on how to combine simple WooCommerce products to create a variable product.

You may streamline your product offers and improve your consumers’ purchasing experience by using this method. Begin optimizing your Woocommerce store immediately to enjoy the benefits.

Do you need help?

You can receive instant help in the live chat during business hours, or you can contact us and we will help you via email.