Part number search for Shopify parts stores
Auto parts, bike parts, appliance spares, fasteners, filters: in these stores customers don't search for "oil filter", they search for 15400-PLM-A02. If search can't handle part numbers, buyers assume you don't stock the part and go elsewhere. Here's how to set your Shopify store up for part number search.
Why part numbers are hard for Shopify search
- Several numbers per part. Your SKU, the manufacturer part number (MPN), OEM cross-references and supplier codes all point to the same item.
- Punctuation varies. Buyers type
15400PLMA02,15400-plm-a02or15400 PLM A02. - Partial numbers. A buyer with a worn label types only
7730. - Variants. The right answer is often one size or thread pitch, not the whole product.
Out of the box, Shopify search handles an exact SKU on the results page, but not the other three.
Step 1: Decide where each number lives
| Number | Where to store it |
|---|---|
| Your own code | Variant SKU |
| GTIN (UPC/EAN) | Variant Barcode |
| Manufacturer part number | Variant metafield, e.g. custom.mpn |
| OEM / cross-reference numbers | Variant metafield, e.g. custom.oem_numbers (list) |
| Supplier code | Variant metafield, e.g. custom.supplier_code |
Create the metafields under Settings > Custom data > Variants, then fill them in bulk through the bulk editor or a CSV import. Consistent storage matters more than any search tool.
Step 2: Store numbers in one consistent format
Pick a format (for example, upper case, with the manufacturer's dashes) and stick to it. Don't add spaces at the ends. A quick spreadsheet pass with =UPPER(TRIM(A2)) before importing catches most mess.
Step 3: Make search understand them
Shopify's free options get you part of the way:
- Add
variants.skuandvariants.barcodeto your theme's predictive search fields (steps in our SKU search guide). - Add important OEM numbers as product tags so the results page finds them. It works for a few numbers, but it doesn't scale to thousands.
Native search doesn't search custom metafields, and it doesn't ignore dashes or match partial numbers. For a parts catalogue, that's where a code-aware search app pays off.
The app way
We built Oak Glen SKU Search & Synonyms for exactly this:
- Searches SKUs, barcodes and part numbers kept in up to 3 metafields (MPN, OEM, supplier).
- Dashes, spaces and capitals don't matter, and partial numbers work:
7730findsOX-7730-B. - An exact match opens the product with the right variant selected.
- Matching part numbers show under your theme's search box as buyers type.
- Synonym groups handle trade names (
hose clamp, jubilee clip), and a failed-search report shows the numbers you don't carry yet.
Search by MPN, OEM and supplier numbers, with or without dashes. Oak Glen SKU Search & Synonyms searches part numbers in up to 3 metafields and opens the right variant. Free for up to 1,000 variants.
Try SKU Search & Synonyms freeRelated: UPC vs EAN vs SKU · Fix searches with no results.
FAQ
Can Shopify search metafields like MPN?
Shopify's built-in storefront search doesn't search custom metafields such as MPN or OEM numbers. Store them as tags for a few key numbers, or use a search app that indexes metafields.
How do I make search ignore dashes in part numbers?
Native Shopify search treats dashes literally in many cases. Store numbers in one format and use a code-aware search app that normalizes dashes, spaces and case.
Where should I store OEM cross-reference numbers in Shopify?
Use a variant metafield (a list of single line text) created under Settings > Custom data > Variants, so each variant keeps its own numbers.
Should part numbers be the SKU?
Use your own code as the SKU and keep manufacturer and OEM numbers in metafields. That keeps your inventory codes stable when suppliers change numbers.