Variants & options
How to Bulk Update a Shopify Variant by Barcode Across Multiple Products
Last updated
Need to bulk update Shopify a variant by barcode across multiple products when the same physical item lives under several products in your catalog? With the EditEngine Bulk Product Editor, you export every row that carries the shared variant, write the new barcode once per row in a spreadsheet, and import the file back. EditEngine fans the change out across every product that holds that variant in a single import job.
What you'll learn
- Export every product with its current a variant by barcode
- Edit a variant by barcode per row in a spreadsheet
- Import the updated file back to Shopify
What you'll need
- The EditEngine Bulk Product Editor app installed in your Shopify store
- At least two products that share the same Variant SKU (the variant you want to fan out)
- The new barcode value ready — usually a UPC, EAN, or ISBN
- The Advanced import flow — variant-level identifier edits are advanced-import only
- A spreadsheet editor (Excel, Google Sheets, Numbers — anything that opens CSV)
On Shopify, a variant's barcode is stored on the variant — not on the product. So when the same physical item appears under several products (a co-branded SKU, a duplicate listing, a bundle component), each product holds its own copy of the variant, and each copy needs the new barcode value. The export gives you one row per variant, and editing the Variant Barcode column on every row that shares the SKU is what fans the change out cleanly.
Step 1 — Export your Shopify a variant by barcode
Open EditEngine and go to the Export page — this is where you pick the columns that land in your spreadsheet.

Pick the right columns
- Handle — the unique product identifier the importer uses to match each row back to the right product.
- Variant SKU — the variant identifier you'll filter on. Every product that carries the variant you're fanning out will have the same value here.
- Variant Barcode — the column you'll edit. Expand the Variants group and tick Variant SKU and Variant Barcode so both ride along in the export.
When the export finishes, click Download. You'll get one row per variant: a product with three sizes spans three rows, and a Handle with a blank Title on later rows just means "same product as the row above."
New to exporting? This guide assumes you know how to run an export and focuses only on the columns and edit unique to this workflow.
Step 2 — Bulk update Shopify a variant by barcode across multiple products in your spreadsheet
Open the downloaded CSV in Excel or Google Sheets. Sort or filter by Variant SKU so every row that carries the variant you're updating sits together — the Variant Barcode column is what you'll edit.

Filter the sheet down to the Variant SKU you're fanning out. On every one of those rows, type the new barcode in the Variant Barcode column — the exact same value on each row, no spaces or invisible characters. Barcodes are typically 12 digits (UPC), 13 digits (EAN), or 10–13 digits (ISBN); EditEngine accepts them as text so leading zeros are preserved.
- ✅
0850001234567 - ❌
850-001-234-567 (typed differently on one of the rows)
Leave Handle and Variant SKU untouched on every row — those two columns are how EditEngine finds each variant to update. Rows that don't share the SKU should keep their original Variant Barcode value; clear the column on a row only if you actually want that variant's barcode emptied. If you're fanning the same barcode across, say, eight products, all eight rows must show the identical string — a typo on one row sends that product a different value.

Save the file as CSV when you're done, and keep the original export handy in case you want to revert.
Tip: Format the Variant Barcode column as Text before pasting values — Excel happily strips a leading zero from
0850001234567and turns it into850001234567, which scans as a different code.
Step 3 — Import the edited file back to Shopify
Open EditEngine → Import and select Advanced import. Then upload the file you just edited.
EditEngine reads the file and shows a header summary. Confirm Variant SKU and Variant Barcode both carry the VARIANT badge — that's how you know the importer recognized them as variant-level fields. Leave Match Products By on Auto-detect (it will match on Handle) and Default Command on Merge so existing data on other columns isn't disturbed.
Note: This advanced import does not have a dry-run toggle. Because you're writing the same barcode across many products at once, a typo fans out the same way the value does — so import a two-row slice of the file first (one product, the shared SKU), confirm the new Variant Barcode in the Shopify admin, then import the full file. That catches a stray space or a stripped leading zero before it propagates.
Click Start Import and wait for the job to finish — a small file takes seconds, larger catalogs a couple of minutes. When it completes, EditEngine shows a per-row summary.
Download the results CSV. It lists every row with a pass/fail status — that file is your proof the change went through, and the new values are now live in your Shopify admin.
Tips and troubleshooting
Filter by Variant SKU before you start typing. The whole point of this workflow is fanning one barcode across every product that shares a variant. If you edit Variant Barcode without first filtering by Variant SKU, it's easy to write the new value onto a row that belongs to a different variant — and now that variant has the wrong barcode. Apply a spreadsheet filter on Variant SKU first, then type only into visible rows.
The value has to match character-for-character. Shopify treats Variant Barcode as a free-text string, so 0850001234567, 850001234567, and 0850001234567 (with a trailing space) are three different barcodes. Copy-paste the value into every row from a single source cell rather than retyping it — that's the one reliable way to guarantee a true fan-out across every product.
Run a two-row test before the full file. There's no dry-run for this flow, and a wrong barcode fanned across ten products is ten wrong barcodes. Trim the file down to two rows that share the SKU, import them, then open both products in the Shopify admin and confirm the Variant Barcode field reads exactly what you typed. Once you've seen one product update correctly, the full file is safe to import.
Frequently asked questions
How do I bulk update a variant by barcode in Shopify?
Export your catalog from EditEngine with the Handle, Variant SKU, and Variant Barcode columns, then filter the spreadsheet to every row that carries the shared SKU. Write the new value in Variant Barcode on each of those rows and import the file back — that fans out a bulk update Shopify a variant by barcode across multiple products in one pass.
Can I edit Shopify a variant by barcode in a spreadsheet?
Yes. EditEngine exports one row per variant with the current Variant Barcode value already filled in, and you edit that column in Excel, Google Sheets, or any CSV tool. Shopify's admin only lets you edit barcodes one variant at a time, which is why the spreadsheet round-trip is the right fit when you bulk edit Shopify a variant by barcode across multiple products.
How long does a bulk a variant by barcode import take in Shopify?
A handful of rows finishes in seconds. A few hundred variants typically completes in a minute or two, and EditEngine streams larger files so a catalog-wide bulk update Shopify a variant by barcode across multiple products runs without timing out. The results CSV shows the exact duration once the job ends.
What format does Shopify accept for a variant by barcode imports?
A CSV or XLSX file with a Handle column to identify the product, a Variant SKU column to identify the variant, and a Variant Barcode column with the new value. EditEngine's advanced import reads that shape directly and applies the change to every matching row when you mass update Shopify a variant by barcode.
Can I undo a bulk Shopify a variant by barcode update?
There is no one-click undo, but the workflow is its own backup. Keep the unedited export, and to revert just re-import that original file — every old Variant Barcode value is already there, ready to overwrite the new ones.
Related tutorials
About EditEngine: EditEngine Bulk Product Editor helps Shopify merchants bulk edit, bulk import, and bulk export their product catalog in minutes instead of days. Install on Shopify →
