Working with product variants in the import tool


To create variants of a product with the import template, ensure you have existing variant types configured.

  1. Go to the Import Tool in the menu and click New.
  2. In the Template Type dropdown, select Variant.
  3. Click Download File Template to get the import template.

Use the template to create or change variants and upload your file to apply the changes.
This article contains descriptions of all existing columns in the variants template: Import template for product variants

GroupKey

The field GroupKey is the unique identifier that groups products together as a variant group. Products with the same key will be connected to the same variant group.

A product can only be a part of one group, If a product is in a existing group and you specify a different key in an import, the product will be removed from the first group.

Example of usage:

Create a variants group

The example below shows how to create a variants group with one dimension:

  • Two products are grouped under the group key ram1 with the dimension Material set.
  • The group is collapsed, and the product with id 110063 is set as the main product.



Once a group is created, you cannot add new dimensions to it. To make changes, you must remove all products and create a new group.

Tip: Ensure all desired dimensions are added when setting up the group initially.


The variants view in Merchant center after import.variations3

Update multiple dimensions

All dimensions and values needs to be included when updating a product in a variants group

  • List multiple dimensions and their values in a single row, separated by commas.
  • Ensure the values match the dimensions in the same comma-separated order. Be careful to maintain the correct order.


The variant dimensions and values above will apply:
    • Productid 31 will have Shape: Rectangle and Type: Hang.
    • Product 210 will have Shape: Square and Type: Stand.

Ensure the values are listed in the same comma-separated order as the dimensions to avoid errors.

Remove a product from a variants group

To remove a product from a variants group via the import tool:

Enter the productId, groupKey and the value remove in the remove colum for the product you want to remove.