Skupad

Skupad › Guides › Shopify product CSV template: every column, and what the old names became

Shopify product CSV template: every column, and what the old names became

Short answer. Shopify’s current sample file, product_template.csv, has 61 columns and 16 data rows. To update existing products only URL handle and Title are required; to create new products only Title is. Variant columns such as SKU or weight also need Option1 name and Option1 value in the file — without them Shopify creates a new default variant and deletes the existing ones.

The safest template is not the sample, though. It is a fresh export of your own store, because its header row is exactly what your store produces today, including market and metafield columns the sample cannot know about.

What is in Shopify’s sample file

We downloaded the sample from the link on Shopify’s CSV help page and counted it. The header row has 61 columns. The 16 data rows describe three products: a t-shirt with 12 variants (four sizes × three colours), a digital product with three formats, and a perfume with one variant. Shopify’s help page says the sample “contains two example products”; the file itself has three. That is the first of several small mismatches, and the reason to read the headers in the file rather than the prose around it.

The older layout, still used in Shopify Partners’ sample catalogue on GitHub, has 44 columns. Shopify says it “maintains backward compatibility with older column names” but recommends the current format, and it does not publish a table that maps one to the other. The table below is our own: each old name matched to the current column with the same description on Shopify’s CSV page.

Old column names and their current names

Older templateCurrent template
HandleURL handle
TitleTitle
Body (HTML)Description
VendorVendor
TypeType
TagsTags
PublishedPublished on online store
Option1 Name / Option1 ValueOption1 name / Option1 value
Variant SKUSKU
Variant GramsWeight value (grams)
Variant Weight UnitWeight unit for display
Variant Inventory TrackerInventory tracker
Variant Inventory QtyInventory quantity
Variant Inventory PolicyContinue selling when out of stock
Variant Fulfillment ServiceFulfillment service
Variant PricePrice
Variant Compare At PriceCompare-at price
Variant Requires ShippingRequires shipping
Variant TaxableCharge tax
Variant BarcodeVariant Barcodes (help page: Barcodes)
Image SrcProduct image URL
Image Alt TextImage alt text
Variant ImageVariant image URL
Gift CardGift card
SEO Title / SEO DescriptionSEO title / SEO description
Google Shopping / AdWords GroupingGoogle Shopping / Ad group name
Google Shopping / AdWords LabelsGoogle Shopping / Ads labels
Google Shopping / MPNGoogle Shopping / Manufacturer part number (MPN)

Columns that exist only in the current template: Product category, Status, Option1–3 Linked To, Cost per item, Tax code, Unit price total measure, Unit price total measure unit, Unit price base measure, Unit price base measure unit, Image position, Color (product.metafields.shopify.color-pattern), Packed product length, Packed product width, Packed product height, Packed product dimension unit. The help page also documents an import-only Collection column that the sample deliberately leaves out.

Download this map as a CSV (old name, current name) →

Six places where Shopify’s own files disagree

Shopify’s import troubleshooting says “column header names are case-sensitive”. Against that background these differences between the help page and the sample file matter:

TopicHelp page saysSample file has
Barcode columnBarcodesVariant Barcodes
Option metafield linkOption1 LinkedToOption1 Linked To
Google category columnGoogle Shopping / Google Product CategoryGoogle Shopping / Google product category
Market compare-at columnCompare At Price / [Market] and Compare-at price / International (both on one page)blank market columns, not filled
Value casedeny, continue, active, trueDENY, CONTINUE, Active, TRUE (and one active)
Number of products“two example products”three handles

We have not imported each variant into a store to see which spellings Shopify accepts, so we do not claim either is wrong. The practical rule follows from the case-sensitivity warning: copy headers from your own export, and when you build a file by hand, keep the spelling your export uses.

Rules that come with the newer columns

Skupad checks the edited file for these. In the example below a made-up store fills in the newer columns of the current template; four values block their product and one needs a look.

Skupad change register filtered to Must fix: Status “Published”, packed size missing its unit, image “candle.jpg” and inventory policy “Yes”
Must fix findings in the edited file: Status “Published” is not a Shopify status, the towel’s packed size has length, width and height but no unit, the candle’s image is a bare file name, and “Yes” is not an inventory policy. Each one keeps its product out of the minimal import file.

Open this example in Skupad →

Needs check finding: Weight value (grams) changed from 1200 to 1.2
The oak board’s weight went from 1200 to 1.2 — kilograms typed into a grams column. Skupad flags it as Needs check rather than blocking, because the guide says what to enter but not what the import does with a decimal.

Open this example in Skupad →

Building a file from the template without breaking it

  1. Export the products you want to change (Products → Export). That export is both your template and your backup.
  2. Delete the columns you are not changing, but keep URL handle, Title and, for any variant column, Option1 name and Option1 value. A column you remove keeps the store’s value; a blank cell in a column you keep clears it when you import with “Overwrite products with matching handles”.
  3. Do not sort the rows. Shopify warns that sorting in a spreadsheet can detach variants and image URLs from their product.
  4. Save as UTF-8 CSV.
  5. Compare the edited file with the export in Skupad before you import, then download the minimal import file it builds.

Next step

Sources