Docs 02

Fitment guide

How Partline knows which parts fit which vehicle: the tag format, the vehicle list, what "Find parts" does and how to tag a big catalog quickly. No app is needed.

How it works in one minute

  1. You tag each product with the vehicles it fits, for example fits:Corvo|Strada E|2024.
  2. Partline builds the make, model and year menus of the vehicle finder from those tags (or from Vehicle metaobjects, see below).
  3. A shopper picks their vehicle once. It is saved in My garage in their browser.
  4. Everywhere in the store, parts are checked against the saved vehicle: fit badges on product cards, a fitment check on product pages, a fit bar above collections and fit badges in search suggestions.
Collection page with the fit bar and Fits badges for a saved 2024 Corvo Strada E
Fig. 01 Collection page with the fit bar and Fits badges for a saved 2024 Corvo Strada E

Fitment is on by default. Turn it off in Theme settings > Fitment > Turn on fitment if you sell parts that are not vehicle-specific.

The tag format

A fitment tag has the tag prefix followed by three parts separated by a vertical bar |:

fits:Make|Model|Years
Tag Fits
fits:Corvo|Strada E|2024 Corvo Strada E, 2024 only
fits:Corvo|Strada E|2019-2024 every year from 2019 to 2024
fits:Corvo|Strada E|2019, 2021 2019 and 2021
fits:Corvo|Strada E|2019-2021, 2024 2019, 2020, 2021 and 2024
fits:Corvo|Strada E every year of the Strada E (model-level tag)
fits:universal every vehicle (universal tag)

Rules:

  • Make and model are matched without regard to upper or lower case, but spelling and spaces must be the same. Strada E and Strada-E are different models.
  • Years can be one year, a range with a hyphen (an en dash also works), a list separated by commas, or a mix. Spaces around commas and hyphens are fine.
  • Leave the years off for parts that fit every year of a model.
  • A product can have as many fitment tags as it needs. One tag per model line is usually tidiest: fits:Corvo|Strada E|2019-2024 instead of six single-year tags.
  • Do not use a vertical bar | inside a make or model name.

Universal parts

Products tagged with the Universal fit tag (default fits:universal) fit every vehicle. They show a "Universal fit" badge, pass every fitment check, and are included when shoppers look for parts that fit their vehicle. Use it for tools, lubricants, lights with universal mounts and similar.

Products with no fitment tags at all show "No fitment data for this part. Check the specs or ask us before ordering." on the product page. Partline never claims a part does not fit when it simply has no data.

The tag prefix

Theme settings > Fitment > Tag prefix (default fits:) is how Partline tells fitment tags apart from your other tags. Change it if your catalog already uses another convention, for example vehicle_. The prefix must be the same on every fitment tag and the Universal fit tag should use it too.

If you change the prefix later, retag your products: old tags are no longer read.

Two or three levels

Vehicle levels sets how many menus the finder has.

  • Three levels (default): make, model and year. Years in tags are used.
  • Two levels: make and model only. Years in tags are ignored, so fits:Corvo|Strada E|2024 fits every Strada E. Good for bike frames, scooters or anything without model years.

Rename the levels with First level name, Second level name and Third level name, for example Brand, Model and Frame size. Year order lists years newest first (default) or oldest first. What shoppers own (default "vehicle") is used in labels such as "Add your bike".

Where the vehicle list comes from

The finder needs a list of every make, model and year. Build the list from has two options.

From product tags (default)

Partline reads every fitment tag in your catalog, removes the prefix and builds the menus. Ranges and lists are expanded into single years. There is nothing to set up.

The limit: Shopify gives themes up to 1,000 distinct tags for a collection. Partline reads the tags of the Show results in collection (or all products if none is set). If your catalog has more than 1,000 distinct tags in total, including non-fitment tags, some vehicles may be missing from the menus. When you get close, switch to metaobjects.

From Vehicle metaobjects

Add a vehicle list in Content > Metaobjects. Partline reads up to 250 entries, and each entry can cover a year range, so 250 entries is usually thousands of vehicles.

Create the definition once:

  1. Go to Settings > Custom data > Metaobjects and select Add definition.
  2. Name it Vehicle. Check that its type (handle) is vehicle.
  3. Add three fields, all Single line text:
Field name Key Example
Make make Corvo
Model model Strada E
Years years 2019-2024
  1. Turn on Storefronts access for the definition (Shopify asks for this so themes can read it).
  2. Save, then add entries in Content > Metaobjects > Vehicle. Years accept the same formats as tags: 2024, 2019-2024, 2019, 2021, or empty for every year.
  3. In Theme settings > Fitment, set Build the list from to Vehicle metaobjects. If you used a different type handle, enter it in Metaobject type.

Entries with an empty make or model are skipped. Products still need fitment tags: the metaobjects only build the menus, the tags decide what fits.

How "Find parts" chooses where to go

When a shopper selects Find parts (in the hero, the vehicle finder section or My garage), Partline looks at the fitment tags that cover their vehicle:

  • Exactly one matching tag, for example only fits:Corvo|Strada E|2024 exists: the shopper goes to the Show results in collection filtered by that tag, for example /collections/all/fits-corvo-strada-e-2024. This is Shopify's built-in collection tag filter: fast, with all your filters and sorting.
  • Several matching tags, for example a range tag fits:Corvo|Strada E|2019-2024, a model-level tag and a single-year tag all cover a 2024 Strada E: one collection filter cannot combine them, so Partline runs a store search for any of those tags plus the universal tag. The search page then shows "Parts that fit your 2024 Corvo Strada E".

You do not need to choose: Partline picks the best option for each vehicle. If you want every vehicle to land on a collection page, tag with single years (2024) instead of ranges.

Show results in

Theme settings > Fitment > Show results in picks the collection used for "Find parts" and, with tag-based lists, the collection whose tags build the vehicle menus. Leave it empty to use all products. Set it if you only want part of your catalog in the finder, for example a "Parts" collection that leaves out clothing.

Bulk tagging with a CSV import

Tagging hundreds of products by hand is slow. Use Shopify's product CSV export and import:

  1. In Products, select Export and export the products you want to tag as a CSV for Excel, Numbers or Google Sheets.
  2. Open the file. The Tags column holds a comma-separated list. Add the fitment tags there, for example brakes, fits:Corvo|Strada E|2019-2024, fits:Halden|Commuter S|2021-2024.
  3. Commas separate tags, so write year lists with a range where you can. If you need a list like 2019, 2021, wrap the whole cell in double quotes, as spreadsheet apps do automatically. Simpler still: use one tag per year range.
  4. Save as CSV and import it in Products > Import, with Overwrite products with matching handles turned on. Check a few products afterwards.

Tips:

  • Keep a sheet of your vehicles (make, model, years) and copy tags from it, so spelling stays identical.
  • Use Bulk edit in the Products list to add the same tag to many selected products at once.
  • If you sell many parts that fit a whole model line, model-level tags (fits:Corvo|Strada E) keep the tag count low.

Troubleshooting

A make or model is missing from the finder. Check the tag starts with exactly your tag prefix and has at least a make and a model. With tag-based lists, check the product is in the Show results in collection and that your store has fewer than 1,000 distinct tags; otherwise switch to metaobjects. With metaobjects, check the entry has a make and model and that storefront access is on.

A year is missing. With Two levels years are not used. Otherwise check the year format: 2019-2024 or 2019, 2021, not 19-24 or 2019 to 2024.

A product says it does not fit but it should. Compare the tag with the saved vehicle letter by letter. Strada E and StradaE are different models.

"Find parts" shows an empty collection. The collection tag filter only shows products in the Show results in collection. Make sure tagged products are in it and are published to the Online Store.

Search results include a part that does not fit. Shopify search matches tags loosely in some cases. The fit badge on each card still shows the true fit state for the saved vehicle.

The finder is empty. Check Turn on fitment is on and at least one product carries a fitment tag (or one Vehicle entry exists).

Still stuck? Contact support. We reply by email within two working days.