Shopify import fix

Shopify: Duplicate handle

Two rows claim to be the same product but Shopify cannot tell them apart. A repeated Handle is legal only when the extra rows are variants of the first one.

How to fix it

  1. Find the repeated Handle in your file.
  2. If the rows really are the same product, merge them into one product block: first row carries Title, later rows carry only option values, SKU, price and stock.
  3. If they are different products, give one a new unique Handle (lowercase, hyphens only).
  4. Re-import.

How to avoid it next time

Generate handles from the product title once, at creation, and never regenerate them later.

Check the whole file before you import again

The free Shopify CSV checker names the exact line for each of these problems. The paid Rescue Kit adds 20 more error cases, a template in Shopify's column order, and the checker as a script you can run in a pipeline.

See the Rescue Kit →

A handle is the URL slug for a product, and Shopify treats it as the identity of that product during import. Two rows with the same handle are not an error by themselves — that is exactly how variants are attached.

When it is legal. The first row carries the title, body, vendor, images and the first option value. Every following row with the same handle carries the remaining option values plus that variant's SKU, price and stock. Shopify joins them into one product with a variant matrix.

When it is a duplicate. Two rows with the same handle and both carrying a title are two products claiming the same URL. Shopify has to discard one. Historically it keeps the first and drops the rest silently, which is why sellers discover half a catalogue is missing.

Why this happens in practice. Concatenating two supplier sheets without deduplicating handles; regenerating handles from titles where two products share a name; or copying a row to make a new product and forgetting to change the handle.

The rule that prevents it. Generate a handle once, when the product is created, and never regenerate it. Treat the handle as an immutable primary key, not a derived field.

Questions

What happens to the second product if I import a duplicate?

It is discarded. No error is raised for that row, which is the dangerous part.

Can I change a handle later?

Yes, but the old URL stops working unless you add a redirect. Handles are best treated as permanent.

Do handles need to be unique across variants?

No. All variants of one product share the handle; that is how they group.