# Import the child/variant SKUs

**URL:** <https://www.virtocommerce.org/t/import-the-child-variant-skus/209>\
**Category:** howto\
**Created:** [April 28, 2020, 6:05pm UTC](https://www.virtocommerce.org/t/import-the-child-variant-skus/209 "2020-04-28T18:05:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![OlegoO](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.virtocommerce.org/olegoo/32/27_2.png) [@OlegoO](https://www.virtocommerce.org/u/OlegoO)\
**Post date:** [April 28, 2020, 6:05pm UTC](https://www.virtocommerce.org/t/import-the-child-variant-skus/209/1 "2020-04-28T18:05:50Z")

</div>

You can have a parent product that contains own properties and children products (variations). You can import the child/variant SKUs and relate them to the Parent via CSV file.

## Step 0. Create CSV file

The easiest way to get sample of CSV file, create one product via Admin UI and export it to CSV.

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/virtocommerce/original/1X/e07a8c275b8b23ade7d7a9a4d6f0d2048bb3015d.png)

## Step 1. Set MasterProductId

Use MasterProductId to set the relation between parent product and variations.

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/virtocommerce/original/1X/9691dd691e39bba7b930eb0c437341981bb7d0a5.png)

## Step 2. Import products

Import products. Map `Id` and `MasterProductId ` and complete import.

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/virtocommerce/original/1X/b8459feb237765878d83f2f6c4018bc3e48ab68c.png)
