Import variable products

12.5050.00

Clear
SKU: N/A Category:

With this add-on you can import variable products into Woocommerce using the free Woocommerce CSV Import.

After installing the add-on there are several new fields available for you when you create a header:

product_type

The possible values are: variation_master for the master and product_variation for the product child

post_parent

In here you enter the SKU of the variation master.

variation

This field is meant to setup which variations are used and how the are used. The way to setup is variation->is_visible->is_used_for_variation. If you look at this example: color->1->1|size->0->1, we have 2 attributes. Color is visible and is used for variations. And size is not visible and used for variations.

default_attributes

If you want the predefined values, you can add them using default attributes. If you want blue to be default for color and medium to be default for size you can set it up like this: color->blue|size->medium.

To import variable products you have to set up the attributes you want to use in advance. The values will be created on the fly! In the Add-on screen there is help that guides you. You can see what attributes you already have, what are the preferred header tags and information about the values you must use.

Here is an example setup of how a CSV would look:

sku;product_type;post_title;price;stock;post_parent;variation;pa_color;pa_size;default_attribures
1;variation_master;pants;10;5;;size->1->1|color;color->blue|size->l;
2;product_variation;pants;10;6;1;;blue;l;
3;product_variation;pants;10;7;1;;red;m;
4;product_variation;pants;10;8;1;;green;xxl;
5;variation_master;t-shirt;10;1;;size|color;color->red|size->xxl;
6;product_variation;t-shirt;10;2;5;;blue;l;
7;product_variation;t-shirt;10;3;5;;red;m;
8;product_variation;t-shirt;10;4;5;;green;xxl;

First set up the attributes you want to use, put them in your CSV file and you can upload them all! Also see my knowledgebase for more info!

Additional information

license

, ,

version

3.1.5