Shopify CSV Import Overwrote Prices to $0.00: A 10-Minute Damage-Control SOP
$0.00 product stays active
is a minute it can be bought, crawled by Google Shopping, or picked up by a deal-alert bot. Diagnose after the products are off the storefront.
A CSV import that zeroes prices almost never reports an error. Shopify accepts 0.00 as a valid price, so the import summary is green, and the
first signal is usually an order notification for a $340 item paid at $0.00. The order of operations below is deliberate: isolate, measure, protect orders,
diagnose, restore. Skipping ahead to "fix the file" is how stores end up re-importing the same bug.
0–2 minStop new damage
- Cancel or pause anything that imports on a schedule. Matrixify scheduled jobs, supplier feed apps, an ERP connector, a Flow that runs on a timer. If the bad file is still in a pickup folder, it will be imported again.
- Export the current product catalog immediately. Products → Export → All products, CSV. This is your blast-radius map. Do it before anyone starts hand-editing.
- Pause shopping ads if the damage is wide. Feed sync to Google and Meta can pick up new prices quickly; pausing campaigns stops paid traffic landing on
$0pages while you work.
2–4 minMeasure the blast radius
Run this against the export you just downloaded. It handles both the legacy header (Variant Price) and the newer template header
(Price), and writes a list of affected handles you will use in the next step.
python -B -c "
import csv
path = 'products_export_now.csv'
bad = {}
with open(path, encoding='utf-8-sig', newline='') as f:
rows = csv.DictReader(f)
col = 'Variant Price' if 'Variant Price' in rows.fieldnames else 'Price'
hcol = 'Handle' if 'Handle' in rows.fieldnames else 'URL handle'
for row in rows:
raw = (row.get(col) or '').strip()
if raw == '':
continue # image-only rows have no price
try:
if float(raw) <= 0:
bad.setdefault(row[hcol], 0); bad[row[hcol]] += 1
except ValueError:
bad.setdefault(row[hcol], 0); bad[row[hcol]] += 1
open('zero_price_handles.txt', 'w').write('\n'.join(sorted(bad)))
print(len(bad), 'products /', sum(bad.values()), 'variants at or below 0 or unparseable')
"
4–6 minIsolate as Draft, and remember what was active
For under a few hundred products, the Admin is fastest: filter the product list, select, and use the bulk action Set as draft. For larger catalogs, script it. Two details save you hours later:
- Only draft products that are currently active, and save that list. When you recover, you re-activate exactly those, not the seasonal products that were already in Draft on purpose.
- Tag with
tagsAdd, notproductUpdate. PassingtagstoproductUpdatereplaces the whole tag list, which can silently drop products from tag-based collections.
mutation Isolate($id: ID!) {
productUpdate(product: { id: $id, status: DRAFT }) {
product { id status }
userErrors { field message }
}
tagsAdd(id: $id, tags: ["price-incident-2026-12-05"]) {
userErrors { field message }
}
}
# Look up each handle first and keep only ACTIVE products:
query ($q: String!) { products(first: 1, query: $q) { nodes { id handle status } } }
# variables: { "q": "handle:trail-pack-45l" }
6–8 minProtect orders already placed
Filter orders from the import time onward and look for line items at 0.00. Hold fulfillment on them before your 3PL ships. How you treat the
customer depends on your terms and local law; in practice most stores contact the buyer, explain the pricing error and cancel with a full refund.
Write down the order numbers now; you will need them for the post-incident note and for any payment-provider questions.
8–10 minFind the root cause in the file
Open the file you imported (a copy, not in Excel) and check it against the patterns we see most often:
| Pattern in the CSV | How it turns into $0.00 | How to spot it |
|---|---|---|
| Price column present but empty for most rows | The file was meant to update inventory or tags, but the price column came along empty and products were overwritten | Count empty cells in the price column on rows that have a SKU |
29,99 (decimal comma) | European-locale exports; value is misread or rejected and lands as 0 or 2999 | Any comma inside a price cell |
$29.99, 29.99 EUR, non-breaking space | Currency symbols or hidden characters make the value unparseable | Regex: anything other than digits and one dot |
Unquoted comma or line break in Body (HTML) | Columns shift one to the right; a description fragment or blank lands in the price column | Row field count differs from header field count |
Renamed header (Variant Price vs Price vs Variant price) | Column not recognized; mixed old and new templates in one file | Compare headers against a fresh export from the same store |
| Saved through Excel | Formulas evaluated to blanks, rounding, or the whole column formatted as text with stray characters | Diff raw bytes against the supplier original |
The browser-local checker at /#preflight runs the price checks without uploading the file anywhere: it flags blank, zero, negative and unparseable price cells (including decimal commas and stray currency text), inverted compare-at prices, duplicate or missing SKUs, and price drops of more than 30% when the file carries a previous-price column. For column shift, also compare each row's field count against the header with any CSV-aware script.
After the first 10 minutes: restore prices
Shopify has no undo for product imports. Pick the best source you have, in this order:
- A pre-import export. If anyone exported before importing, re-import only
Handle, SKU and the price columns from it. - A backup app or Matrixify backup/export history. Pull the last snapshot before the import timestamp.
- Order history. Line items keep the price the customer saw. For sold variants,
lineItems { sku originalUnitPriceSet { shopMoney { amount } } }on recent orders reconstructs a large share of the catalog. - Feed exports and supplier price lists. Merchant Center product exports or the supplier's own file, checked against your margin rules.
Re-import safely
- Build a restore file with only the columns you intend to change: handle, SKU, price, compare-at price.
- Run it through the free preflight; require zero blank, zero-or-negative and unparseable price cells.
- Import 10 representative products first and check them on the storefront, not just in Admin.
- Import the rest, then re-activate only the products on your saved "was active" list.
- Remove the
price-incidenttag and unpause ads last.
Check the file before you re-import it
Free, browser-local, nothing uploaded. Drag in the CSV and see every blank, $0, negative or unparseable price row with its line number.
FAQ
Can I undo a Shopify CSV import?
Shopify has no undo button for product imports. You restore by re-importing a known-good export, using a backup app or Matrixify backup, or reconstructing prices for sold variants from order line items, which keep the original unit price.
Should I set products to Draft or just fix the prices directly?
Draft first. Fixing hundreds of prices takes time, while Draft removes the products from every sales channel in one bulk action. Record which products were active beforehand so you only re-activate those.
Why did a blank cell in my CSV become $0.00?
When the price column is present and you overwrite existing products, an empty or unparseable value in that column can be written instead of being skipped. Import only the columns you intend to change, and validate that every price cell holds a positive number with a dot decimal separator.
Do I have to honor orders placed at $0.00?
Policies and local consumer law differ, so check your terms of service. Practically, hold fulfillment on affected orders, contact the customers promptly and cancel with a full refund where your terms allow it.