Your supplier sends a product list as CSV or Excel, and it looks nothing like Shopify’s template. The columns have different names, sizes sit in one cell, prices have a currency sign and the images are in five columns. You can fix all of this in a spreadsheet. It takes an hour or two the first time, and much less once you’ve set it up.
How Shopify wants the data
The main difference between most supplier files and Shopify’s format is the row layout:
- One row per variant. A T-shirt in S, M and L is three rows, all with the same
URL handle(Handlein the older template). - Product details only on the first row. Title, description, vendor and tags go on the first row of each product. The other rows repeat the handle and fill in the variant columns.
- One image per row. Extra images go on extra rows with the same handle, the image URL and an image position (1, 2, 3…).
Supplier files usually have one row per product instead, with sizes in a single cell like S/M/L.
Step 1: map the columns
Start from an empty Shopify template (you can generate one with only the columns you need) and copy each supplier column into the matching Shopify column:
| Supplier column (typical names) | Shopify column |
|---|---|
| Name, Product name, Article | Title |
| Description, Long text | Description (old: Body (HTML)) |
| Brand, Manufacturer | Vendor |
| Article no., Item code, SKU | SKU (old: Variant SKU) |
| EAN, GTIN, UPC | Barcode (old: Variant Barcode) |
| RRP, Retail price | Price (old: Variant Price) |
| Wholesale, Net price, Cost | Cost per item |
| Stock, Qty, Available | Inventory quantity (old: Variant Inventory Qty) |
| Image 1, Image 2… | Product image URL (old: Image Src), one per row |
Leave out Shopify columns you don’t need. Only Title is required for new products, plus the handle when a product has variants.
Step 2: clean the values
These Google Sheets formulas cover the usual problems (cell references are examples):
- Handle from the title:
=LOWER(REGEXREPLACE(TRIM(A2), "[^A-Za-z0-9]+", "-"))turnsLinen Shirt (Blue)intolinen-shirt-blue-. Remove a dash left at the end if you like. - Prices:
=VALUE(SUBSTITUTE(REGEXREPLACE(B2, "[^0-9,.]", ""), ",", "."))turns€19,99into19.99. Check prices over 1,000 by hand, because the thousands separator gets in the way. - Barcodes and SKUs: format those columns as Plain text before pasting, so leading zeros stay and long numbers don’t turn into
4.00638E+12.
Step 3: turn sizes, colours and images into rows
For each product with variants, add a row per size or colour. Set Option1 name to Size on the first row, and put the value (S, M, L) in Option1 value on every row. Each combination of option values must be unique within a product. For a product without variants, leave the option columns empty, or use Title as the option name and Default Title as the value.
Images work the same way. Shopify takes one image per row, so a product with three photos needs three rows with that handle. The variant rows can carry the images: the first variant row gets image 1, the second gets image 2. If you have more images than variants, add rows that only have the handle, the image URL and its position.
Here’s a shirt in two sizes and two colours, with three photos:
Title,URL handle,Option1 name,Option1 value,Option2 name,Option2 value,Price,Product image URL,Image position
Linen shirt,linen-shirt,Size,S,Color,White,49.00,https://example.com/shirt-1.jpg,1
,linen-shirt,,S,,Blue,49.00,https://example.com/shirt-2.jpg,2
,linen-shirt,,M,,White,49.00,https://example.com/shirt-3.jpg,3
,linen-shirt,,M,,Blue,49.00,,Mistakes that break this layout:
- A different handle on one row, even a typo, creates a separate product with no title.
- Option names on every row are allowed, but they must match the first row exactly. Leaving them empty after the first row is safer.
- Two rows with the same option values, such as two rows for S and White, are rejected as duplicate variants.
- Sorting the file in a spreadsheet can separate a product’s rows. Keep them together, with the row that has the title first.
To link a photo to one variant (the blue shirt shows the blue photo), put its URL in Variant image URL on that variant’s row as well.
Step 4: export and check
- In Google Sheets: File → Download → Comma-separated values. This gives you UTF-8 with commas, which is what Shopify needs. From Excel, use CSV UTF-8 (Comma delimited).
- Check the file in CSVCheck before importing. It recognises Shopify product files and flags wrong column names, bad handles, prices with currency signs, duplicate variants and encoding problems.
- Import a few products first. Shopify can’t undo an import, and fixing 5 products is easier than fixing 500.
If the supplier sends a new file every week
Keep the spreadsheet with your formulas and paste each new supplier file into the same input columns, so the Shopify columns update by themselves. If you only need to update stock and prices on existing products, include just the handle, title, option columns, SKU, price and inventory columns (Shopify needs the handle and title to update a product). If you need this to run on a schedule, an inventory sync app in the Shopify App Store is the better tool. For other import errors, see Shopify CSV import not working.