Category attributes guide

Turn your option values and tags into category attribute values

What you’ll need

  • Your products export CSV (with each product’s Product category set)

    How to get this: Your products export CSV
    1. Products › Export › All products › Export products.
    2. Small exports download; big ones arrive by email.

    Step-by-step guide (opens in a new tab)

  • Shopify’s free GraphiQL app (with read_products, read_metaobjects access)

    How to get this: Shopify’s free GraphiQL app
    1. Install it once from shopify-graphiql-app.shopifycloud.com: enter your store address, tick the access listed here, click Install and approve.
    2. Then open it any time from Apps › Shopify GraphiQL App in your admin.

    Step-by-step guide (opens in a new tab)

  • Shopify’s product importer, to load the result

    How to get this: Shopify’s product importer, to load the result

    It’s in Products › Import. Export a backup first: an import can’t be cancelled once it starts.

    Step-by-step guide (opens in a new tab)

Map my values

Where values come from

  • Options whose name matches the attribute: Color or Colour, Size, Material, Pattern.
  • Tags written as “Name: value”, for example “Fabric: Cotton”.
  • Any column you point at an attribute, such as a supplier’s Material column or a custom metafield column.

How matching works

  • Exact name, ignoring capitals and punctuation.
  • The short form in brackets: “XL” matches “Extra large (XL)”.
  • Plurals and percentages: “Stripes”, “100% cotton”.
  • A short list of common synonyms (Grey → Gray, Navy blue → Navy). These are shown for review.

Options that are already connected

If an option is already linked to a category metafield (the “Option1 Linked To” column has product.metafields.shopify.…), Shopify keeps that metafield in step with the option. The tool leaves those alone. It never changes option values either, because changing them gives variants new IDs.

More guides

Based on product CSV guide, Standard Product Taxonomy and Link metafields to product options.