Bulk update Shopify variant SKUs
Match on Handle or ID, put the new value in Variant SKU. Matching on the old SKU while changing it in the same cell will miss.
Use this to rename SKUs. Update by SKU uses SKU as the match key, not as the new value. Empty Variant SKU clears the SKU.
Columns
| Need | Columns |
|---|---|
| Minimum | Handle, Option values or Variant ID, Variant SKU (new value). |
| Recommended | ID, Handle, Variant ID, Variant SKU. |
| Empty cells | Empty Variant SKU clears the SKU. |
Steps
- Export so you have Handle and Variant ID or option values.
- Edit Variant SKU to the new code. Do not use the old SKU as the only match key.
- Import, Dry run on.
What a dry-run comment looks like
What fails
- Matching only on the SKU you are replacing.
- A SKU that already exists on another variant when Shopify rejects duplicates (shop setting).
FAQ
- Barcode?
- Variant Barcode is a different column. Empty barcode clears it. Extra barcodes: PRD001.
- Clear a SKU?
- Leave Variant SKU empty. That clears it. Omit the column to keep the SKU.
- Match by the old SKU?
- That is Update by SKU. This page changes the SKU string after matching on Handle or ID.
- Handle in the file?
- Keep Handle so matching does not use the new SKU as the key.
