Shopify import fix

Shopify: Variant already exists

Re-importing a file that contains products already in the store, with option values that match existing variants.

How to fix it

  1. Decide whether you are creating or updating.
  2. To update, keep the same Handle and the same option values; Shopify matches them.
  3. To replace, delete the product first, then import.
  4. Never import the same file twice hoping it will overwrite; it will not.

How to avoid it next time

Treat import as create-or-update by Handle, and keep a stable Handle per product.

Catch these before the import runs

The free Shopify CSV checker names the exact line for each problem. The paid Rescue Kit adds 20 more error cases, a template in Shopify's column order, and the same checker as a script for your pipeline.

See the Rescue Kit →

Import is create-or-update keyed on the handle and the option values together. If both match an existing variant, the row updates it. If they do not match, the row creates a new one — even if the SKU is identical, because SKU is not the key.

Why re-importing the same file doubles variants. If you changed an option value between imports — Size M became size M in lowercase, or Colour gained a trailing space — the key no longer matches. The old variant stays and a new one is created beside it.

The two intents are different and need different files. To update, keep handles and option values byte-identical and change only price or stock. To replace, delete the product in the admin first, then import; deleting in the file does not delete in the store.

How to tell them apart before importing. Export your current catalogue and diff the Handle and Option1 Value columns against your new file. If any key differs from the existing set, you are creating, not updating.

Questions

Does SKU identify a variant?

No. The key is handle plus option values. SKU is data, not identity.

How do I delete products via CSV?

You cannot. Deletion happens in the admin or via the API.

Why did my price update but stock not?

Both are updated by the same row. Check that the row was not rejected for a blank option value.