Duplicate variants error when importing products via CSV


Latest update: - Sam Pallesen

Problem

When trying to update your product list using a CSV file import, you receive an error saying you have duplicate variants:

Screen_Shot_2019-03-01_at_11.15.43.png

Setup

  • Vend for Mac or PC

Cause

You will receive this error when you have 2 or more variants in a product which have exactly the same attributes. These attributes are referred to in the CSV file as variant option values.

Solution

There are three different approaches to this issue:

A) Differentiate the variants using different attributes (cerulean blue, aquamarine, Navy blue, etc)

B) Differentiate the variants by adding more attributes (Style, Size, etc)

B) Differentiate the variants using different handles (splitting these out into different products)