Import with CSV

Shopify's product CSV carries tags in its Tags column, so fitment can ride in with an import. A spreadsheet formula can build the tags from Make, Model and Year columns.

Sample files

Not confirmed. The column list in the sample products file follows Shopify's product CSV template as recalled when it was written, and it was not test-imported. Export a product from your store, or download Shopify's template from Products › Import, and compare the headers before importing.

Tags in the CSV

Put every tag for a product in its Tags cell, separated by commas, with the cell in quotes when your tool does not add them:

"fit:Arvo:Strada:2012-2015, fit:Arvo:Strada:2016-2018, oem:34116761252"

Build tags from columns

Say your sheet has Make in column A, Model in B, Year from in C and Year to in D, with the first vehicle on row 2. In E2 write:

="fit:"&TRIM(A2)&":"&TRIM(B2)&":"&IF(OR(D2="",C2=D2),C2,C2&"-"&D2)

For 2012 and 2015 it gives fit:Arvo:Strada:2012-2015. When Year to is empty or equal to Year from, it gives one year: fit:Arvo:Strada:2013. Fill the formula down the column.

With an optional Engine in column E and the formula in F2:

="fit:"&TRIM(A2)&":"&TRIM(B2)&":"&IF(OR(D2="",C2=D2),C2,C2&"-"&D2)&IF(TRIM(E2)="","",":"&TRIM(E2))

Join several vehicles into one Tags cell

When one part fits several vehicles, list them on consecutive rows, then join the tag cells of those rows. If the tags are in F2:F6:

=TEXTJOIN(", ",TRUE,F2:F6)

Paste the result into the part's Tags cell. Add oem: numbers by putting them in the same list.

Not confirmed. The formulas were written by hand and not run in Excel, Numbers or Google Sheets. TEXTJOIN exists in Google Sheets and recent Excel; older Excel and Numbers need another way to join.

Before and after the import

  • Check the years: a four-digit year, a plain hyphen, no spaces. A bad row makes the editor say "fit: tags could not be read". See Fitment tags.
  • Importing can add many tags. Keep an eye on the 1,000-tag budget.
  • Make sure the products are in your All parts collection. An automated collection with the condition Price is greater than $0 includes them.
  • Searching by oem: number works once Shopify has finished indexing, which took a few minutes after an import on a test store.