Shopify "Not a valid product category": Fix
Shopify's product importer shows Not a valid product category when a cell in your Product category column isn't one of Shopify's own categories. Product type and tags take any text you like, but the category has to come from Shopify's list.
Why does Shopify say "Not a valid product category"?
Shopify's common import issues page says the value you entered doesn't match the full category breadcrumb or the category ID listed in Shopify's Standard Product Taxonomy, and that you need to match one of them exactly.
Shopify's CSV guide gives the two forms the column takes:
| Form | Example |
|---|---|
| Full category breadcrumb | Home & Garden > Linens & Bedding > Bedding > Bed Sheets |
| Category ID | hg-15-1-2 |
Shopify's product category help adds that a CSV should hold the ID or the breadcrumb, not both.
Supplier files break this rule in a few common ways:
- The supplier's own category.
Bedding,Mens > TopsorKitchen & Diningcome from the supplier's catalogue, not Shopify's taxonomy. - Only the last level.
Bed Sheetson its own is a category name, but the importer wants the whole breadcrumb from the top level down. - A different separator. Shopify's breadcrumbs put
>between levels. A path written with/or|doesn't match. - A typo or a changed word. One letter off, or
andwhere Shopify writes&, and the value no longer matches exactly.
How do I fix "Not a valid product category"?
- Open Shopify's taxonomy. Shopify publishes its Standard Product Taxonomy online, and its help says both the ID and the breadcrumb are listed there.
- Find each category your file uses. Search for the product, or click down through the levels, until you reach the category that fits.
- Copy the ID or the breadcrumb. The ID is shorter and has no spaces or
&to get wrong, so it's the safer one to paste. If you use the breadcrumb, copy all of it. - Replace the values in your file. Many rows usually share one supplier category, so sort the file by that column and fill in each group at once, or use Find and Replace to swap each supplier value for its Shopify ID.
- Import again. If the error names another line, check that row's value against the taxonomy the same way.
If you don't need categories on this import, you can delete the Product category column and set them later in the Shopify admin. Shopify's help says the category is used to work out a product's tax rate in the United States and unlocks category metafields, so it's worth adding before long.
How does Csvio handle product categories?
Csvio reads the category column as the supplier wrote it and looks up each value in Shopify's taxonomy.
- Supplier names are looked up. When you create products from a file with a category column, the mapping screen shows a Categories card. It lists each category in your file once, with how many products use it, and the Shopify category Csvio found for it. A value it can't match with confidence comes with suggestions to confirm, and you can search Shopify's full list from the same field. See Confirm Shopify product categories during import.
- Breadcrumbs don't have to be exact. A full breadcrumb matches when its levels are the same as Shopify's, whatever the capitals, punctuation or plurals. A single name matches when it's the name of a Shopify category.
- IDs work too. A Shopify category ID such as
hg-15-1-2is read as that category. - A miss doesn't stop the import. A category you leave unmatched goes in uncategorized, and the rest of the product imports. Categories Shopify has retired are never set.
- Choices are remembered. Once you confirm a category for a supplier, Csvio uses it again on that supplier's next file.
One thing a missing category does affect: some custom fields, such as Material, can be limited to certain categories, and a product without a category can't take them. Csvio warns you about this on the mapping screen.
Bulk edit is stricter, since it changes products you already have. A category value that doesn't match one of Shopify's is listed on the mapping screen with its row and the reason, and you fix the cell or skip the row. See Bulk update products from a file.
Can I try Csvio on the file Shopify rejected?
Csvio's free plan imports 30 products a month across up to 3 imports. Upload the file with the supplier's own categories, and the Categories card shows what each one matches before you confirm.