Shopify Product Import Mapping: Match Every Column Right
How Shopify product import mapping works: which CSV columns match which fields, how to handle variants, images and collections, and how to fix common errors.

Shopify Product Import Mapping: Match Every Column Right

Product import mapping is the job of matching each column in your supplier or competitor data to the Shopify field it belongs in: title, description, price, SKU, images, options and so on. Shopify’s CSV import does not give you a drag-and-drop mapping screen. Your file’s headers have to match Shopify’s template, so the mapping happens in your spreadsheet before you upload. Get that right and a 500-product import takes minutes. Get it wrong and you get deleted variants, broken images and rejected rows. If you are building the catalogue from AliExpress or competitor links, we generate unique, copyright-safe product pages and export them to Shopify in one click, so the mapping work is done for you.
TL;DR
- Shopify matches columns by exact header name, so you map by renaming columns in your file to match Shopify’s sample CSV template.
- For new products only Title is required. For updates you need URL handle and Title.
- Each variant gets its own row, with the URL handle repeated and Option1 to Option3 name and value columns filled in.
- Most failed imports come from encoding, header spelling, image URLs or a file over 15 MB.
- Mapping fixes the structure. It does not fix copied supplier text, which is a separate duplicate-content problem.
Table of Contents
- What import mapping means in Shopify
- Step 1: Start from Shopify’s template, not your supplier’s file
- Step 2: Map the core fields
- Step 3: Map variants without breaking them
- Step 4: Map images and media
- Step 5: Map inventory, collections and custom attributes
- Step 6: Import and check the result
- Fixing the common errors
- Why mapping is only half the job for dropshippers
- Our perspective
- Skip the spreadsheet: generate and export in one step
- FAQ
- Sources
What import mapping means in Shopify
In many tools, mapping means uploading a file and then choosing, for each of your columns, a destination field. Shopify’s built-in product importer works differently. It reads the first line of your CSV and expects the headers to be the ones in its template. A header that is misspelled, differently capitalised or invented is not matched to anything, and in the worst case the whole upload fails.
So for a dropshipper, mapping is a translation step. Your supplier export might call a column “Product Name”, “Sale Price” or “Img1”. Shopify wants Title, Variant Price and Image Src. You rename and restructure until the file is a clean copy of the template.

The import methods you can choose from
There are three practical routes for a store owner:
- Shopify’s own CSV import. From Products, choose Import and add your file. This is the route this article is mostly about, and it gives you full control over every field.
- An import app or tool. It reads a supplier or competitor page and creates products for you, usually with its own field mapping.
- A content platform that generates the product pages and exports straight to the store. This is where we sit, and it is the route that removes the copy-and-rewrite step entirely.
If you want a closer look at pulling data from a link, our guide to importing Shopify products from URLs without duplicate content covers that route.
Step 1: Start from Shopify’s template, not your supplier’s file
Download the sample CSV from the import screen and treat its header row as fixed. Shopify’s guide to CSV files for products says to put the specified column headers on the first line and to save the file as UTF-8 with LF linefeeds.
What this takes in practice:
- Keep the header row exactly as given. Spelling and case matter. A header mismatch is behind the “Network error: Unexpected token < in JSON at position 0” message, according to Shopify’s import help.
- Delete columns you do not need only if they are optional. Title is the only required column for new products. Everything else is optional, but the headers you keep must be spelled correctly.
- Copy data into the template, not the other way round. Pasting your supplier columns over the template’s headers is the quickest way to shift every field by one.
Where it goes wrong: a spreadsheet application quietly saves in a different encoding. Shopify notes that unexpected characters and illegal quoting errors usually mean the file is not UTF-8, so re-save it with that encoding.
Step 2: Map the core fields
The fields every dropshipper fills in, and what to watch for in each:
| Your source data | Shopify field | What to check |
|---|---|---|
| Product name | Title | Required. Avoid pasting the supplier’s keyword-stuffed name. |
| Slug or product link | URL handle | Required for variants and updates. Must be identical on every row of the same product. |
| Description | Description | Supplier text is usually shared by dozens of stores. |
| Category or type | Type, Product category | In the US, categories come from Shopify’s standard taxonomy and feed tax rate calculation. |
| Price | Variant Price | Number only, no currency symbol. |
| Stock code | Variant SKU | Keep your supplier SKU mapping consistent across imports. |
| Image links | Image Src | Public HTTPS URLs. |
| Tags | Tags | Comma separated, which is why UTF-8 quoting matters. |
The tax point comes from the same Shopify CSV guide: for US stores the product category must come from Shopify’s Standard Product Taxonomy, and it is used to calculate product tax rates. Pick the category deliberately rather than leaving whatever the supplier file suggests.
If your supplier data is messy before it even reaches the template, clean it first. Our walkthrough on normalising supplier data before you import shows how to standardise names, units and option values so the mapping is mechanical.
Step 3: Map variants without breaking them
Variants are where mapping most often goes wrong, because one product becomes several rows.
Shopify’s rules:
- Each variant has its own row.
- Repeat the URL handle on every row of that product.
- Use Option1 name and value, and up to Option2 and Option3, for the variant choices (size, colour, material).
- Only the first row of a product carries the title, description and similar product-level fields.
A worked example. A hoodie in three sizes and two colours is six rows. Every row has the handle oversized-hoodie. Option1 name is Size and Option2 name is Color on each row, with the matching values (S, M, L; Black, Grey) filled in per row. The first row also holds the title, description and tags.
The mistakes that delete data
Shopify warns that when you update variant-related data such as SKU or weight and leave out the Option1 name and Option1 value columns, the import creates a new default variant and deletes the existing ones. It also warns that changing option values deletes the existing variant IDs and creates new ones, which can disconnect apps and saved links that depend on them. Both warnings are in the CSV guide.
Two habits prevent this:
- Always include the option columns when you touch anything at variant level.
- If you need to move an option value to a new position and see “Line is invalid (No details)”, Shopify’s fix is two imports, using a temporary option name first.
Variant metafields are not supported by the product CSV, so plan to handle them another way. If you are cloning variants across products, see how to duplicate Shopify variants without CSV errors or SEO damage.
For size-based catalogues, mapping each product to the right size chart is its own problem. We cover it in size chart mapping in Shopify.
Step 4: Map images and media
Images are fetched by Shopify from the URL in your file, which has consequences:
- Use public HTTPS URLs. A link behind a login or on a private server cannot be downloaded.
- Use one image per row. Extra images for a product go on extra rows with the same URL handle.
- Shopify’s CSV guide allows up to 250 images per product.
- Variant images use the Variant image URL column.
- Images that exceed the 20 megapixel limit are rejected, as summarised in a guide to Shopify CSV import error messages.
The same guide notes that sorting the CSV in Excel or Numbers can detach products from their image rows, so sort before you add image rows or not at all. A malformed link produces a “getaddrinfo” message, which means the URL needs its full https address.
Another trap for dropshippers: supplier image URLs often disappear or are shared with every competitor selling the same item. If you want to swap them out in bulk, read how to replace supplier images in Shopify with CSV. For keeping a whole catalogue visually consistent, see CSV bulk product image generation. Once images are mapped correctly, a 30, 90 and 180-day Shopify SEO roadmap is a sensible next read on how those pages get discovered.
Step 5: Map inventory, collections and custom attributes
Some data has no obvious home. Shopify’s CSV guide covers the main cases:
- Inventory. The quantity column applies only to stores with a single location. With multiple locations you use a separate inventory CSV.
- Collections. Add a Collection column with the collection name in the first row of the product. A product can be added to one collection by CSV, and the name has a 255-character limit.
- Attributes with no standard field. There is no free-form attribute column. Product metafields can be mapped with headers in the format
NAME; (product.metafields.custom.KEY), and the metafield definition has to exist.
Collections have limits too. Per Shopify’s troubleshooting page, products cannot be added by CSV to collections with more than one source, to collections with a Variants source, to app products, to certain condition combinations or to duplicate conditional collection names. The product on that line fails to import, and the fix is to use a different collection or add the product manually afterwards.
A question that comes up often is whether you can put all attributes in one column. You cannot. Each attribute that needs a field gets its own metafield column, or it belongs in the description or tags.
Step 6: Import and check the result
The import itself is short, per Shopify’s import instructions:
- Go to Products, then Import, then Add file.
- Optionally change the publishing and overwrite settings.
- Click Upload and continue and review the import details.
- Click Import products.
Shopify emails you a confirmation. Imports cannot be cancelled once started, and the activity log shows recent changes. Because you cannot cancel, test first. Our guide to piloting a supplier catalogue with 20 to 30 products shows how to run a small batch before the full file. Then spot-check:
- Open three products at random and confirm title, price, options and image order.
- Check a multi-variant product for the right number of variants.
- Confirm the collection assignment and product category.
Fixing the common errors
| Message or symptom | Likely cause | Fix |
|---|---|---|
| Unexpected characters, illegal quoting | File not UTF-8 | Re-save as UTF-8 |
| Unexpected token < in JSON | Headers differ from template, including case | Copy headers from the sample file |
| Line is invalid (No details) | Moving an option value position | Two imports with a temporary option name |
| Image download error | Image missing at the URL | Fix or replace the link |
| getaddrinfo | Malformed URL | Use the full https address |
| Upload errors or times out | File over 15 MB | Split into smaller files |
| Product fails on collection | Unsupported collection type | Use another collection or add manually |
The 15 MB ceiling comes from Shopify’s import help. When a large catalogue exceeds it, split by product, never in the middle of a product’s variant rows, or the variants end up separated from their parent.
Why mapping is only half the job for dropshippers
A perfectly mapped file still carries whatever text you put in it. If the description is the supplier’s paragraph, the same paragraph sits on every store that imported it. That is the problem most Google dropshippers hit: duplicate content, weak rankings and Merchant Center disapprovals. Our guide to safely importing competitor products covers that side of the process.
Our perspective
Mapping is the dull part of a launch, and it is where most hours disappear. You rename columns, repeat handles, check option values, and then you still have a catalogue full of text that other stores share.
That is why we built EcomEye around the whole path, not just the file. You import from AliExpress, Amazon, Temu or a competitor Shopify link, and the platform generates unique titles, descriptions and AI product images for each user. Every listing is unique even when it starts from the same product link. Size system conversion, multi-language pages, template and bulk editing and variant management are built in, and the export to Shopify is one click.
Our view is simple: a dropshipper should spend time choosing products and ads, not debugging a CSV header. When the structure and the content are produced together, the mapping questions in this article mostly stop being your problem.
Koen
Skip the spreadsheet: generate and export in one step
If you are listing in bulk, EcomEye takes product data from AliExpress, Amazon, Temu or competitor Shopify links and generates copyright-safe, SEO-optimised pages with unique titles, descriptions and images, then exports them to Shopify in one click. The Try-out plan is €39 per month and the Scaler plan is €99 per month, and you can see both on the pricing page.

If you also sell in several languages, our piece on bulk translating Shopify catalogues shows how multi-language pages fit in, and you can read why exporting directly to Shopify speeds up scaling.
FAQ
Does Shopify have a column mapping screen for product CSV imports?
No. Shopify reads your header row and expects it to match its sample template exactly, including capitalisation. You do the mapping by renaming and arranging columns in your spreadsheet before you upload.
Which columns are required to import products?
For new products the only required column is Title, plus URL handle when you add variants. For updates to existing products you need URL handle and Title. Include the Option1 name and value columns whenever you update variant data.
Why did my import delete my variants?
When you update variant-related fields such as SKU or weight and omit the Option1 name and Option1 value columns, Shopify creates a new default variant and deletes the existing ones. Changing option values also creates new variant IDs. Always include the option columns, and rename options in the admin where you can.
What should I do if my CSV is too large?
Product CSV files cannot exceed 15 MB. Split the file into several smaller ones and upload each in turn, keeping all rows of a product together so its variants and images stay attached.


