How do we catch a price CSV that could clear tags or omit a size before importing it?
List product identity, target variant, old value, new value and allowed columns; retain a readable original.
Open the detailed checksOne merchant needs images for 1,500 products; another wants new prices without losing existing configuration. Uploading is only one part of the job. Each row needs an identity, an allowed change and a way to check unaffected variants. Start with a change record, then verify a small batch.
WESWOO · · 简体中文
| Observation | Next action |
|---|---|
| Define the allowed change | List product identity, target variant, old value, new value and allowed columns; retain a readable original. |
| Join images by product and position | Check a multi-image item, similar filenames and a missing-image case against the intended product and position. |
| Keep a recovery record and inspect downstream display | Record recovery scope, remaining exceptions and review time; verify storefront and downstream feed results separately. |
A WESWOO bulk-change procedure. We downloaded the current official Shopify CSV sample and inspected its fields and rows. This is file verification, not a merchant import. Earlier price and image examples remain illustrative preflight checks.
The workbook contains a blank record and an illustrative example. Fill the scope, observations, evidence, owner and next review. Unsupported results stay unverified.
Download the editable record and example (Excel)This combined workbook contains six workflows, each with a blank and illustrative sheet. Choose the pair matching this article.
A WESWOO bulk-change procedure. We downloaded the current official Shopify CSV sample and inspected its fields and rows. This is file verification, not a merchant import. Earlier price and image examples remain illustrative preflight checks.
Keep a fresh export with its time and market, then work on a copy. Make the intended difference explicit: change the medium price while preserving tags, other sizes and images. Titles are not stable keys, and empty or duplicate SKUs need a mapping decision. Keep the original export intact.
How to verify: List product identity, target variant, old value, new value and allowed columns; retain a readable original.
Inspect the actual export header against current documentation. The current sample includes URL handle, Price and Variant Barcodes; compatibility with older headers does not justify mixing schemas. Preserve the option mapping. Treat an empty field and an omitted column separately, particularly when tags are outside the change scope.
How to verify: Check multiple variants of one product and distinguish preserved, changed, cleared and omitted fields.
Map product identity, image position, filename and public URL. Separately sorting two lists and pasting by row can create wrong pairings even when row counts match. Check missing images, repeated assignments and position collisions. Inspect representative images: a successful HTTP response does not establish product identity.
How to verify: Check a multi-image item, similar filenames and a missing-image case against the intended product and position.
Keep barcodes, SKUs and leading-zero identifiers as text. After saving the CSV, inspect its raw text rather than relying on cell formatting. Where the current field supports multiple typed barcodes, retain the required types and separators. Do not turn the field into a number or manufacture missing identifiers.
How to verify: Compare raw characters before and after saving for a leading-zero identifier and a multi-value field; keep missing data explicit.
Use authorized test products covering single and multiple variants, multiple images and blank-field boundaries. Re-export and compare original, intended and actual values using the same keys. Open the storefront and switch variants. Verify unaffected tags, options and publication state before increasing the batch size.
How to verify: Only approved fields differ, and storefront selection matches the intended price and image. Mark this unexecuted without an actual import.
Version the final file, import result and verification export. Stop later batches when an error appears, then use a reviewed field-level recovery plan and recheck variant IDs and references. Reimporting an old file is not a universal rollback. If the storefront is correct but an advertising feed is stale, investigate that downstream feed separately.
How to verify: Record recovery scope, remaining exceptions and review time; verify storefront and downstream feed results separately.
On 26 November 2026, the current Shopify help-page template contained 16 data rows and three product handles, with URL handle, Price and Variant Barcodes among its headers. Variant rows and image fields mean row count is not product count. The source URL and SHA-256 are retained. No upload, overwrite or restoration was performed.
Download the observations and test scope (JSON)On a test product, compare omitting the column with including an empty cell. Back up the vendor and inspect the imported value before shaping the production CSV.
From a single test product export, omit the Vendor column in one file and leave its cell blank in another. Use the same overwrite setting and export again to check the stored value.
Export a backup and try one product with a known vendor. Export it again after import and compare both title and vendor. Use that tested column set for the larger update.
When overwriting a matching handle, a blank value in an included optional column can overwrite existing data. Omit optional columns you intend to preserve and retain the fields required for the intended update.
Open the image URL outside the supplier login. Replace expired or private links with authorized, accessible assets and retest a single product.
Open the final image URL signed out and inspect its content type and image. A login page, expired signed URL or preview page calls for a stable accessible image before trying a small import again.
Open one failed URL while signed out and identify the product in the image. Retry with a one-product file and confirm the new store serves the image before retiring the old image host.
Request one CSV photo URL without signing in. Record the final location, content type and whether it decodes, then inspect the column mapping. Sharing and sign-in pages can both return 200.
Three loopback URLs served a sharing page, redirected to sign-in or served an image. Chrome attempted to decode each response body.
All three ended at 200. The two HTML responses decoded to zero width. The image decoded to 80 pixels.
This preflight does not run the Shopify importer or certify format support. The author later mentioned remapping headings. The actual CSV and failed row are needed for a diagnosis.
Tested in Chrome 157.0.8103.79. In a clean directory with Node.js 22 or later run, in order, npm install playwright → npx playwright install chromium → node weswoo-csv-image-response.cjs.
The importer needs an image URL it can access directly. Check for local file paths, sign-in requirements and links that open a sharing page instead of the image.
Group the rows of a multi-image product by handle and compare image URLs and positions before and after sorting. Check the secondary rows as carefully as the main one.
Swapping only the second image of each sample product preserves all four files and position numbers. Join on product handle and position: A now has b-side and B has a-side. This query finds changed or missing files at expected positions. Check unexpected and duplicate positions separately.
Sample a black mug and a white shirt. List the front and detail image URLs for each handle. If the mug has a shirt size or a shirt image, rebuild the update file from the original export before importing it.
Compare handle, image position and file together. The query detects missing or wrong files at expected positions. Check duplicate keys and unexpected positions separately before accepting the batch.
Read the media-source and variant-image columns side by side. Group by handle and inspect each SKU’s association. A photo present in the product’s media is not a variant assignment.
The Python CSV reader parsed legacy headers and a quoted title containing a comma. We supplied a matching URL, a blank assignment and a URL found only under another handle.
BLUE matched its product, RED had no assignment and SMALL pointed to another product’s media. Filling only RED’s assignment made it match.
Map headers from your export using Shopify’s current CSV documentation. This preflight uses exact URL equality and flags equivalent URLs with different parameters for inspection. The original file was not reimported.
Tested in Chrome 157.0.8103.79. In a clean directory with Node.js 22 or later run, in order, npm install playwright → npx playwright install chromium → node weswoo-variant-image-csv.cjs. Python 3 is required.
One product can occupy several rows. Keep the original export and compare each handle’s image URLs and option values before and after sorting.
Run the setup and query in an empty SQLite database. The rows are synthetic.
CREATE TABLE reference (handle TEXT, position INTEGER, image TEXT);
INSERT INTO reference VALUES
('A',1,'a-front'),('A',2,'a-side'),('B',1,'b-front'),('B',2,'b-side');
CREATE TABLE proposed (handle TEXT, position INTEGER, image TEXT);
INSERT INTO proposed VALUES
('A',1,'a-front'),('A',2,'b-side'),('B',1,'b-front'),('B',2,'a-side');
SELECT r.handle, r.position, r.image AS expected, p.image AS proposed
FROM reference r
LEFT JOIN proposed p
ON p.handle=r.handle AND p.position=r.position
WHERE p.image IS NOT r.image
ORDER BY r.handle, r.position;Download the example record (JSON)
Export one warehouse mapping, edit the color on a test item and reread its variant ID. Fix stale fulfillment mappings before applying the bulk edit.
The same sample order line says Brass and carries variant 518. The old map knows only 310 and returns no warehouse SKU. The updated map resolves 518 to WC-BR. Retain the variant ID from the actual order and identify which mapping revision fulfilled it. The sample assumes the ID changed.
Record one variant’s label, SKU, ID and warehouse mapping. Change a test item, compare the IDs, then ask the integration owner to resolve it to the same bin. Expand the change once that mapping works.
Keep the order-line ID, variant ID and warehouse SKU from one known fulfillment. After import, trace a controlled order through the warehouse lookup and identify the actual join key.
Shopify warns that changing option values in a product CSV can recreate variants with new IDs. Find out which field the warehouse or subscription system uses to match each item.
Run the setup and query in an empty SQLite database. The rows are synthetic.
CREATE TABLE order_line (variant_id INTEGER, label TEXT);
INSERT INTO order_line VALUES (518,'Brass');
CREATE TABLE warehouse_map (revision TEXT, variant_id INTEGER, sku TEXT);
INSERT INTO warehouse_map VALUES ('old',310,'WC-BR'),('new',518,'WC-BR');
WITH revisions(revision) AS (VALUES ('old'),('new'))
SELECT r.revision, l.variant_id, l.label, m.sku
FROM revisions r CROSS JOIN order_line l
LEFT JOIN warehouse_map m
ON m.revision=r.revision AND m.variant_id=l.variant_id
ORDER BY CASE r.revision WHEN 'old' THEN 1 ELSE 2 END;Download the example record (JSON)
A merchant building a first product CSV had about 1,500 items to illustrate and considered alphabetizing the products and files before pasting. The dangerous case is two lists of equal length that put the wrong photograph on a product.
Ask the photographer or supplier for a shot list tying a product handle and image position to an actual delivered file. Use it to match files to their hosted URLs for Shopify. A folder of unrelated names needs identification before it can be joined.
1. Check two easily confused products against the shot list. We read 22 rows from Shopify Partners' public apparel CSV, including 20 populated main-image records. Keeping the pairs gave 20 correct matches. Alphabetizing handles and filenames separately left one correct match and 19 wrong ones.
2. Reconcile the whole delivery by handle and image position. We removed a bag's main photo, assigned two shirt photos to the same main slot and added an unplanned back view. The check identified one missing slot, one collision and one unexpected slot.
3. Put only confirmed, publicly loadable image URLs in the import. Inspect the hero image and order on a small batch of product pages before expanding. Send unidentified files back for labeling instead of guessing on live listings.
| Sample condition | Observed result |
|---|---|
| Original handle and slot pairs | 20 correct, zero wrong |
| Sort handles and filenames separately | One correct, 19 wrong |
| One absent, one colliding, one unexpected slot | 18 correct; one of each exception |
Shopify explains image URLs and positions. We measured pre-import matching, without importing images or testing the old sample URLs for availability. The download includes the pinned source revision, file hash and three reproducible checks.
Continue in the workflow: Bulk product changes
Run the setup and query in an empty SQLite database. The rows are synthetic.
CREATE TABLE expected(handle TEXT,pos INT,file TEXT,PRIMARY KEY(handle,pos));
INSERT INTO expected VALUES
('ocean-blue-shirt',1,'young-man-in-bright-fashion_925x.jpg'),
('classic-varsity-top',1,'casual-fashion-woman_925x.jpg'),
('yellow-wool-jumper',1,'autumn-photographer-taking-picture_925x.jpg'),
('floral-white-top',1,'city-woman-fashion_925x@2x.jpg'),
('striped-silk-blouse',1,'striped-blouse-fashion_925x.jpg'),
('classic-leather-jacket',1,'leather-jacket-and-tea_925x.jpg'),
('dark-denim-top',1,'young-female-models-denim_925x.jpg'),
('navy-sport-jacket',1,'mens-fall-fashion-jacket_925x.jpg'),
('dark-winter-jacket',1,'smiling-woman-on-snowy-afternoon_925x.jpg'),
('black-leather-bag',1,'black-bag-over-the-shoulder_925x.jpg'),
('zipped-jacket',1,'menswear-blue-zip-up-jacket_925x.jpg'),
('silk-summer-top',1,'young-hip-woman-at-carnival_925x.jpg'),
('longsleeve-cotton-top',1,'woman-outside-brownstone_925x.jpg'),
('chequered-red-shirt',1,'red-plaid-shirt_925x.jpg'),
('white-cotton-shirt',1,'smiling-woman-poses_925x.jpg'),
('olive-green-jacket',1,'urban-fashion_925x.jpg'),
('blue-silk-tuxedo',1,'man-adjusts-blue-tuxedo-bowtie_925x.jpg'),
('red-sports-tee',1,'womens-red-t-shirt_925x.jpg'),
('striped-skirt-and-top',1,'woman-in-the-city_925x.jpg'),
('led-high-tops',1,'putting-on-your-shoes_925x.jpg');
CREATE TABLE draft AS SELECT * FROM expected;
WITH slots AS (
SELECT handle,pos FROM expected UNION SELECT handle,pos FROM draft
), audit AS (
SELECT s.handle,s.pos,CASE WHEN e.file IS NULL THEN 'unexpected' WHEN COUNT(d.file)=0 THEN 'missing'
WHEN COUNT(d.file)>1 THEN 'collision' WHEN MIN(d.file)=e.file THEN 'ok' ELSE 'wrong' END AS status
FROM slots s LEFT JOIN expected e USING(handle,pos) LEFT JOIN draft d USING(handle,pos) GROUP BY s.handle,s.pos,e.file
) SELECT status,COUNT(*) AS image_slots FROM audit GROUP BY status ORDER BY status;Check the destination field format first. Some GS1 exchange formats require a GTIN left-padded to 14 digits. Confirm the identifier the manufacturer assigned to the actual pack.
A literal string join flags a pack as missing. Removing leading zeros across the entire column could damage identifiers that genuinely begin with zero.
Retain raw text alongside item ID before converting anything to numbers. We read 851552005025 from a public product endpoint and formed its fixed-width 14-digit representation.
Both the original and 00851552005025 have a check digit of 5. Retain the source and normalize a separate comparison field. Investigate changed internal digits, failed checks or different packaging separately.
Reread the exported file as text, verify length, check digit and item mapping, then inspect processed Merchant Center attributes and diagnostics. Padding cannot create an unassigned identifier.
| Check | Result |
|---|---|
| Public source string | 851552005025 has 12 digits and a check digit of 5. |
| 14-digit string control | 00851552005025 preserves the significant digits in a fixed 14-digit representation. The check digit is also 5. |
This verifies representation and checksum. Manufacturer assignment and Google acceptance are separate checks.
Merchant question · extra leading zeroes on a UPCGS1 · GTIN representations across formatsGoogle · GTIN formats and identifiersPublic product data · coffee packs and selling plansContinue in the workflow: Bulk product changes
Read the option name before interpreting the SKU’s value. The first option on a Dawn sandal is color. The first on LTT’s Mystery Shirt is length. A positional mapping would send Regular and Tall as colors.
A merchant’s variants were accepted while their size and color values were missing. Inspect the export mapping as well as the title. A rule may treat every product’s first option as its color.
Pick an affected variant in Merchant Center and record its ID and received color and size. Match that SKU to Shopify’s option names, positions and values. Check whether the channel reads a separate product attribute.
Map by product category and actual option name. For a fixed color, use verifiable product information. If buyers receive an assorted color, check the offer and market requirements before assigning any value.
After sync, inspect one color-and-size item and one length-and-size item in the channel. The sandal’s shoe size should remain in size. Regular from the shirt should never appear in color.
| Check | Result |
|---|---|
| Louise Slide Sandal | Color / Size (Buttermilk / 35) |
| Mystery Shirt | Length / Size (Regular / Small) |
The public records establish what the options mean. Neither store’s feed configuration or diagnostic status was available.
Merchant question · apparel sizes and colors missingGoogle · missing variant colorDawn · public sandal optionsLTT Store · Mystery Shirt optionsContinue in the workflow: Bulk product changes
List product identity, target variant, old value, new value and allowed columns; retain a readable original.
Open the detailed checksCompare raw characters before and after saving for a leading-zero identifier and a multi-value field; keep missing data explicit.
Open the detailed checks