Which cause is yours?
| What you observe | Likely cause |
|---|---|
| “Ignored line … because handle … already exists”, or existing products did not change | 1. The handle exists and Overwrite was off |
| The same product appears twice after an import | 2. The handle in the file differs from the store |
| The vendor, description or other values are empty after an import | 3. Blank cells with Overwrite |
| Variants are gone after an update, or a product has one Default Title variant | 4. The file did not list every variant |
1. Shopify matches products by URL handle
The URL handle is the unique identifier of a product and part of its page address. By default it is made from the title: Black Sunglasses becomes black-sunglasses. It can contain letters, numbers and dashes, but no spaces (Shopify Help). A SKU identifies a variant for inventory tracking; it is not how a product import finds a product.
When you import a product CSV (Products → Import), the option Overwrite products with matching handles decides what happens to a handle that already exists (Shopify Help):
- Off: products that match an existing handle are ignored. Shopify reports “Ignored line … because handle … already exists” and asks for a unique handle for each product (Shopify Help).
- On: the values in the file replace the values of the matching columns of the existing product.
Leave Overwrite off for new products, and switch it on only for a file that is meant to change existing products.
2. Duplicate products: the handle in the file differs
A row matches a product only when its URL handle is exactly the handle in your store. Otherwise nothing in the store matches it and the import creates a new product next to the old one, for example when a handle was typed by hand or changed in the file. Whether Shopify treats handles that differ only in letter case as one product is not confirmed, so copy each handle exactly as it is in a fresh export.
- To update a product, use the handle from a fresh export of your store.
- To add new products, keep Overwrite off and use handles that are not in your store yet.
- To remove duplicates, use the bulk actions on the Products page: a CSV can't delete products (Shopify Help).
Inside one file, two products with the same handle are read as one: Shopify Help names this as a cause of “Validation failed: options are not unique”. See variants not importing.
3. Blank cells erase values when you overwrite
With Overwrite, Shopify Help describes three cases (Shopify Help):
- A column in the file with a blank cell: the store's value is overwritten as blank. An empty
Vendorerases the vendor. - A column that is not in the file: the store's value stays as it is.
- A column whose data depends on a column that is not in the file: existing data is deleted. A
SKUcolumn withoutOption1 nameandOption1 valuedeletes the variant option.
| Record | URL handle | Title | Vendor | Option1 name | Option1 value | Price |
|---|---|---|---|---|---|---|
| 1 | organic-tee | Organic cotton T-shirt | (empty) | Size | S | 26.90 |
| 2 | organic-tee | (empty) | (empty) | (empty) | M | 26.90 |
| 3 | organic-tee | (empty) | (empty) | (empty) | L | 26.90 |
Record numbers exclude the header. (empty) marks an empty cell.
Not every column behaves the same way: in our test import, an empty Price with Overwrite left the old price as it was, while a new product with an empty price was created at 0.00. Fill in Price on every variant row, and do not rely on blank cells. Remove every column you do not want to change, and fill in every cell of the columns you keep. With Overwrite, a value in Collection also replaces the collections the product was added to by hand.
4. Variants deleted by an update
Shopify Help warns that a file without Option1 name and Option1 value creates a new default variant and deletes the existing ones. Changing an option value deletes the variant's ID (the number apps use to find the variant) and creates a new one (Shopify Help).
In our test import, a file listing one of three variants deleted the other two. We imported a product with three variants, then a file with Overwrite that listed only one of them (columns URL handle, Title, Option1 name, Option1 value, Price). The product kept one variant; the other two were deleted together with their stock. With the same columns listing every variant, only the prices changed: SKUs, costs, barcodes, compare-at prices, stock and images stayed as they were.
| Record | URL handle | Title | Option1 name | Option1 value | Price |
|---|---|---|---|---|---|
| 1 | organic-tee | Organic cotton T-shirt | Size | S | 26.90 |
| 2 | organic-tee | (empty) | (empty) | M | 26.90 |
| 3 | organic-tee | (empty) | (empty) | L | 26.90 |
Record numbers exclude the header. (empty) marks an empty cell.
So a price file lists every variant of each product it includes, taken from a fresh export. A variant added in your store after that export is not in the file and can be deleted by the import.
If variants are already gone
- Take the product export you made before the import: Shopify keeps no history of imports (Shopify Help). Keep only the rows of the affected products. The backup also holds the old values of every other column, so remove the columns you do not want to change back.
- Import those rows with Overwrite. In our tests, a product ended up with exactly the variants listed in the file, so the missing variants should be created again. We have not tested restoring deleted variants: import one product first and check it.
- A variant created again is a new variant with a new ID, so apps that used the old one have to find it again. Its stock does not come back: in our test, the stock of the deleted variants was removed with them. Export the inventory after the import and set the counts in
On hand (new); see inventory CSV not updating stock.
Before you overwrite
- Export your products as a backup: an import can't be cancelled once it starts, and Shopify keeps no history of imports. The store's activity log shows recent changes (Shopify Help).
- Import a small file with one or two products first, then export them and compare.
- If your store has more than one location, change stock with the inventory CSV, not with the product file: see inventory CSV not updating stock.
What the free Shopify check reports
CatalogDock's Shopify Check reads your file in your browser and lists these problems with their record and column. It never changes the file.
Reported for you to decide
- URL handles with spaces or other characters, handles that differ only in letter case, and SKUs repeated on several variants.
- In a file for updating existing products: blank cells that would erase the store's values, and variant columns without option columns.
Needs data from your store
Which handles and variants your store has now. Update compares your file with a fresh export instead of guessing.
Still failing? Related guides
Import a file with only the product that fails, so you know which rows cause the error. If the guides do not explain it, send Shopify Support the exact text of the error: Shopify Help points there for problems it does not list.
- Shopify import troubleshootingFind the cause of a failed Shopify CSV import and how to fix it.
- Variants are missing or splitURL handles, option columns, repeated combinations and row order.
- Stock did not changeLocations, On hand (current) and (new), and which file sets stock.
- Shopify rejects the fileEncoding, quotes, headers, required columns and the 15 MB limit.
Check your Shopify CSV before importing
CatalogDock checks the handles of your Shopify CSV and, for an update, the blank cells that would erase values, free and in your browser. To change prices and stock of existing products, Update compares a fresh export with your price list and writes a price file that lists every variant of each changed product.
Runs in your browser · No files uploaded · Never connects to your store
Sources
Shopify Help, read on :
- Using CSV files to import and export products
- Importing products with a CSV file
- Troubleshooting product CSV imports
Where this page says in our test import, the result comes from small files imported into our Shopify development store in October 2026 and read back from its exports. One store and a few products: your store can behave differently.
Applies to Shopify's own CSV import: Products → Import for products and Products → Inventory → Import for stock. Shopify can change its import at any time; the sources above are dated. CatalogDock's Shopify support is in beta.