Will a Shopify CSV import change your variant IDs?
Yes. Changing an existing variant’s Option1 value, Option2 value, or Option3 value in a matching-handle import can replace its Shopify variant ID. Apps or workflows that reference the old ID can be affected. For a price or SKU update, carry over the original option names and values exactly. Shopify’s warning about option edits and variant IDs
Preview your CSV changes free ↗
Which columns should you keep for a price or SKU update?
Keep URL handle and Title, plus each option name and value pair used by the product. For a T-shirt with Color and Size, keep both Option1 name and Option1 value and both Option2 name and Option2 value. Keep the header spelling from your own export. Shopify documents that omitting the first option pair while updating a dependent field such as SKU can remove existing variants and create a default variant. Shopify’s required columns and data dependencies
Try a variant comparison with two sample CSVs
These practice files use one invented product, Camp Tee, with Blue / Small and Blue / Medium variants. The intended edit raises the Blue / Medium price from 24.00 to 27.00. The edited file also changes its size from Medium to M, while keeping its SKU.
Run the sample variant comparison ↗
| Evidence in the edited CSV | Finding | What to review |
|---|---|---|
Line 2, first row for camp-tee | Before-export variant is absent | The original Blue / Medium combination is missing from the product’s updated rows. |
Line 3, Option2 value | New or changed option combination | Blue / M appears where the original file had Blue / Medium. Restore Medium if only the price should change. |
- Open the product CSV checker in Updating products mode and select the edited CSV.
- Choose + Add original export and select the original CSV, then choose Run safety scan.
- Check the comparison coverage. The scan compares one product and two variants and reports both option findings in the table.
- Change
Mback toMediumon line 3 and keep the intended 27.00 price. Scan the corrected file again using the original export. Both option findings disappear.
An absent combination can also result from an intentional partial update. Read the two findings together and confirm the intended variant with the original export. Check planned changes such as the 27.00 price against your own records.
Confirm the change before import
Keep a fresh export and compare it with the final edited CSV. Catalog Guard reads both files in your browser and flags selected changes to option combinations, missing option columns, and duplicate combinations. Check Shopify’s import preview, and verify the variant IDs in Shopify and any dependent apps if you intentionally change option values. Shopify recommends testing a small subset in a development store for large imports when available. Shopify’s guidance on testing imports
For the broader workflow, read the Shopify CSV comparison guide and pre-import checklist. The sample image comparison report shows what you receive in a complete report.