WooCommerce Product Variations. How to Bulk Add Variations

WooCommerce allows you to set versatile catalog falling back upon variable products. If one and the same product differs in some specifications, for example color and material, we speak about WooCommerce product variations that are created under variable type.

WooCommerce Variable Product on a Front End
WooCommerce Variable Product on a Front End

Store Manager for WooCommerce, starting from version, supports variable product type management and allows to bulk add WooCommerce product variations. Below in this post you will find extended instructions on how to configure variables with Store Manager application.

1. Add Attributes for WooCommerce Product Variations

In WooCommerce attributes are used to provide extra details about items. When selling variations, you should also add attributes on the basis of which product selections will be created. As for example, we have test product - evening dress - that will come in several sizes and color. Size and color will vary and respectively these are WooCommerce attributes.

Each of attributes possesses values respectively. For example, small, medium, large are values for size. These values are called 'terms' in WooCommerce. Now we are going to create 'size' and 'color' attributes and assign terms to them via Store Manager for WooCommerce in the following way

  1. Navigate to Attributes section of Store Manager disposed under the Catalog menu

  2. Hit Add button on attribute toolbar and provide attribute related details in the edit form, its name, slug, sort order.

  3. Save the attribute pressing Apply button below in the window.

  4. Add New Attributes for WooCommerce Varable Products
    Add New Attributes for WooCommerce Varable Products

  5. Highlight the attribute you have created and press Add button on Term toolbar.

  6. New Attribute Term for WooCommerce Variables
    New Attribute Term for WooCommerce Variables

  7. Input Term details in edit window and save modification done.

Add as many terms and attributes as you need for WooCommerce product variations generating in the way, we have just described.

2. Create Variable Product

Once you have configured attributes and terms, create main merchandise with variable type.

  1. Navigate to the category product with variations will be listed in and press Add icon either on the product toolbar or in the context menu.

  2. Immediately new product record will be displayed in product grid. In the lower grid below you can see multiple tabs, each standing for some product details you have to configure, among which product name, inventory, price, category, tags and other details.

  3. Input product name, description, short description in Content tab and move to Product Data tab. You see the dropdown with available product types on the top. Set this product as variable, selecting corresponding option.

  4. Product Type Selection During WooCommerce Variables Creation
    Product Type Selection During WooCommerce Variables Creation

    3. Bulk Add WooCommerce Product Variations

    Main product being created, you can assign variations to it. In other words, Store Manager gives you the possibility to generate variations in bulk. See how it is being done:

    1. Open Catalog -> Attributes in the lower grid of WooCommerce variable product you have created.

    2. Add New Attributes for WooCommerce Varable Products
      Add New Attributes for WooCommerce Varable Products

    3. You can see dropdown with all the attributes, you have created in Attribute section. Choose the one, variations will be based on and press Add New button

    4. Select attribute terms that will represent selections for customers at the frontend

    5. Attributes Selection for WooCommerce Variables
      Attributes Selection for WooCommerce Variables

      Add other attributes and terms in the same way.

    6. Now open Variations tab and hit Generator button on the toolbar to bulk add WooCommerce product variations.
    7. WooCommerce variations window has appeared as you can see. It includes available attributes and their terms, allows to select terms, on the basis of which WooCommerce product variations will be generated and variation settings (variation price, stock status, weight, tax class, description)

    8. Choose attribute terms, participating in variable product generating - drag-and-drop them to adjacent pane. We have added all the terms, configured for 'Color' and 'Size' attributes.

    9. WooCommerce Product Variations Generator
      WooCommerce Product Variations Generator

      Please, pay attention to settings available in the right pane.

      • Generate Unique SKU - if checked, all the variations will acquire unique SKU
      • Manage Stock - check the option if you want to track inventory for WooCommerce product variations
      • If you enable stock management, there will appear extra field for quantity and backorders as it is displayed at the screenshot

      • Stock Status - set variation status, whether they are in stock/out of stock

    10. Confirm generation and check results in Store Manager.

    11. Generated WooCommerce Variations
      Generated WooCommerce Variations

      Generate WooCommerce Variations FREE

      Get It Now

James • 10/15/2019

Thank you for this in-depth tutorial. I am trying to work on product variations but not getting the actual results as I have already gone through several resources and following this resource to implement the product variation process. Can you please describe me further how to do this? This is the code that I think is somehow wrong. Is there any other way to set product variations?
$variation_id = woo_insert_post( $variation_post );
$variation = new WooCommerce_Product_Variation( $variation_id );
foreach ($variation_data['attributes'] as $attribute => $term_name )

WooCommerce Store ManagerMod James • 10/16/2019

Hello, James!
Thank you for your comment.
Our Store Manager software does not work with code, it connects to store database directly. So, you can work with WooCommerce product variations following the guide above.

Jarrod • 04/27/2020

How do you add the images to the variations?

WooCommerce Store ManagerMod Jarrod • 04/27/2020

Hello Jarrod,
Thank you for your comment.
You can add images for variations either manually or via import. To add an image manually select the variation and click Edit. In the open window there will be a button to add the image.

WooCommerce Add image to variations
WooCommerce Add image to variations

How to import images for variations is described step by step in this article
Hope this helps)