How to undo a bad bulk edit or CSV import on Shopify
A bulk edit or CSV import changed hundreds of products and it was not what you meant. Prices are wrong, titles are blank, or tags have been overwritten. Shopify's help pages on bulk actions and CSV import do not describe an undo button, so recovery means putting the old values back from a copy. Stop making further changes first, so you do not make it harder to tell what is wrong.
1. Find out what changed
- Open a few affected products and note which fields are wrong. Title, price, tags, SEO, or something else?
- Check whether any products were duplicated or only updated.
- Note how the import matched products. Shopify matches by URL handle, and the option "Overwrite existing products with matching handles" decides whether existing products are updated. A blank column in the file overwrites the existing value with blank, while a column missing from the file leaves it alone.
2. Re-import a previous export
If you exported your products before the change, this is the cleanest fix. Re-import that older file with the overwrite option selected, and the old values replace the new ones for the columns it contains. Two cautions from Shopify's docs:
- The export does not include product images or collections, and SEO fields come out blank unless you customised them. A re-import will not fix anything stored in those places, and blank SEO columns could blank out existing values.
- Changing option values creates new variant IDs, which can break anything that depends on them. Check before you import.
Do a test with one or two products first. Shopify also warns that sorting a CSV in a spreadsheet can detach variants and image URLs from their products.
3. If you have no export
We found no per-product edit history in Shopify's help pages that you can roll back. Look for the values elsewhere: the original spreadsheet you imported, your supplier's price list, a product feed in another sales channel, or older order data for prices. Shopify Support can tell you what is possible for your store, so it is worth a ticket if the damage is large.
4. Where a backup app helps
A backup app keeps copies on its own schedule, so you do not need to remember to export. The limit to know: it can only restore from backups taken after it was installed. If the bad import happened before you installed one, it cannot help with that import.
Bucketback is a backup app we build. It takes a nightly backup from the day you install. Product field edits, including title, price, tags, SEO and metafields, can be rolled back to the backup. You see a preview of each field before anything is written, and a safety backup is taken before each restore, so you can undo the restore if it is not what you wanted.
Restores go back to the last nightly backup, not to the minute. If you made good changes after that backup and before the bad import, they will be rolled back too, so use the preview to pick only what you want.
5. Before your next big import
- Export your products to CSV and keep the file somewhere safe.
- Try the import on a handful of products.
- Check which columns you are including, and whether any are blank.
- Turn the overwrite option on only when you mean to change existing products.