Title: Importing Variable Products
Last modified: July 4, 2018

---

# Importing Variable Products

 *  Resolved [supergula](https://wordpress.org/support/users/supergula/)
 * (@supergula)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/importing-variable-products-2/)
 * I am trying to import variations of a variable products, it all goes well with
   the exception of the variation assignment.
    What do I mean?
 * If you go to a variable product edit page, on the variation you can see the product’s
   id and it’s variations. Well, my variations are empty when importing a variation.
   
   The attribute is created while importing but is not assigned, how can I solve
   this?
 * Thanks a lot!

Viewing 11 replies - 1 through 11 (of 11 total)

 *  [seank123](https://wordpress.org/support/users/seank123/)
 * (@seank123)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/importing-variable-products-2/#post-10461165)
 * There’s a folder called Sample Data in the WooCommerce download zip with a sample_products.
   csv – is your csv file like that?
 * In particular the ‘Parent’ column should have the SKU of the variable product.
 * I think you may also need to upload the variable products first – then upload
   the variations.
 *  Plugin Support [Riaan K.](https://wordpress.org/support/users/riaanknoetze/)
 * (@riaanknoetze)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/importing-variable-products-2/#post-10461218)
 * Did you set the Global parameters on the attribute? Here’s a list of the schema
   that’s possible with the importer: [https://github.com/woocommerce/woocommerce/wiki/Product-CSV-Import-Schema](https://github.com/woocommerce/woocommerce/wiki/Product-CSV-Import-Schema)
 *  Thread Starter [supergula](https://wordpress.org/support/users/supergula/)
 * (@supergula)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/importing-variable-products-2/#post-10461326)
 * Thanks for the replays.
 * what I did in order to check whether I am doing something wrong was to export
   variable product and variation products.
 * I then edited these attributes:
    - Sku
    - Attribute 1 value
    - Position
    - Name according to the variation
 *  - Then I imported it and was expecting a new variation to be added. A new variation
      has been added but without it’s attribute.
    - Also, if I export a variable product and it’s variations, and then import 
      it right back, the product does get the right amount of variation but none
      are assigned an attribute.
 *  [seank123](https://wordpress.org/support/users/seank123/)
 * (@seank123)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/importing-variable-products-2/#post-10461423)
 * Here’s a sample of the CSV I use: [test.csv](https://b46it.com/images/test.csv)
 * Have you got the Parent field in there?
 *  Thread Starter [supergula](https://wordpress.org/support/users/supergula/)
 * (@supergula)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/importing-variable-products-2/#post-10461535)
 * In my file there is a parent field. The variable product is accepting the variation
   but the variation does not have an attribute though everything seems fine in 
   my CSV file
 *  [con](https://wordpress.org/support/users/conschneider/)
 * (@conschneider)
 * Engineer
 * [7 years, 11 months ago](https://wordpress.org/support/topic/importing-variable-products-2/#post-10463266)
 * Can you provide a screenshot of your attributes column and values inserted so
   we can take a look.
 *  Thread Starter [supergula](https://wordpress.org/support/users/supergula/)
 * (@supergula)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/importing-variable-products-2/#post-10464295)
 * Hey, sorry for the delay..
 * Here is a link to the CSV I am using to import:
    [https://uploadfiles.io/tgdtc](https://uploadfiles.io/tgdtc)
 * Hope it’s helpful
 *  [seank123](https://wordpress.org/support/users/seank123/)
 * (@seank123)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/importing-variable-products-2/#post-10464572)
 * Had a quick look – just one thing stands out:
 * The ‘Attribute 1 name’ entries – shouldn’t they all have the same name? Eg: size?
 *  Thread Starter [supergula](https://wordpress.org/support/users/supergula/)
 * (@supergula)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/importing-variable-products-2/#post-10464719)
 * Yea, seems to work. It is odd though, I just exported the products from the website
   and it was like that.
 * If anything will go wrong again I will write again.
 * Thanks for the help!
 *  [seank123](https://wordpress.org/support/users/seank123/)
 * (@seank123)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/importing-variable-products-2/#post-10464816)
 * Had similar issues when I was trying to do it with the built in importer – I 
   had been using a 3rd party import plugin that worked really well but has since
   been abandoned by the developer – took a while to get it working right but once
   you crack it, then it works very well!
 *  Plugin Contributor [Julia Amosova](https://wordpress.org/support/users/jamosova/)
 * (@jamosova)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/importing-variable-products-2/#post-10471148)
 * Hi [@supergula](https://wordpress.org/support/users/supergula/) and [@seank123](https://wordpress.org/support/users/seank123/),
   seems as the issue is resolved for the two of you so we are going to mark this
   thread as `Resolved`. Feel free to open a new post for any new issues. Cheers!

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Importing Variable Products’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [Import](https://wordpress.org/support/topic-tag/import/)
 * [variable](https://wordpress.org/support/topic-tag/variable/)
 * [variation](https://wordpress.org/support/topic-tag/variation/)

 * 11 replies
 * 5 participants
 * Last reply from: [Julia Amosova](https://wordpress.org/support/users/jamosova/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/importing-variable-products-2/#post-10471148)
 * Status: resolved