Shopify Category Metafields: How to Add Color, Size and Material

Written by

in

Short answer: category metafields are the product attributes that come with each category in Shopify’s product taxonomy: a T-shirt gets size, neckline, sleeve length, fabric, color and more; a mug gets material, handle type, microwave compatibility and color. To add them, set the product’s category first. The matching fields then appear in the product’s Category metafields section, with ready-made entries to pick from. Shopify says they make products more discoverable on your site, on marketplaces and on search engines.

Filling these in for every product? ProductReady suggests a Shopify category and its attributes, such as color, size and material, from your own product details. By default each change waits as a draft until you apply it.

What category metafields are

Shopify’s definition: “Category metafields map to specific product categories in Shopify’s Standard Product Taxonomy.” The taxonomy calls them attributes. Each one comes with default entries, such as common colors for color, and you can add your own entry when yours isn’t there. What you can’t do yet is invent a new attribute: Shopify says custom attributes are currently not supported. For your own fields, use regular metafields instead.

They are different from the product type and tags, which are free text. If you’re unsure which field does what, see product type vs category vs tags.

Before and after: what a category unlocks

A product without a category has no category metafields at all. Here is what three products get once their category is set, taken from Shopify’s taxonomy file (version 2026-10):

ProductCategoryAttributes it unlocks
Washed linen pillow coverHome & Garden › Decor › Throw Pillow Accessories › Throw Pillow Covers7: color, edge trim style, filler material, material, pattern, pillow shape, printed sides
Cotton T-shirtApparel & Accessories › Clothing › Clothing Tops › T-Shirts24, including size, color, fabric, fit, neckline, sleeve length type, target gender, age group and care instructions
Stoneware mugHome & Garden › Kitchen & Dining › Tableware › Drinkware › Mugs12, including color, drinkware material, handle type, microwave compatibility and cleaning instructions

A more specific category can unlock more attributes. In the taxonomy, Clothing has 11, Clothing Tops has 15 and T-Shirts has 24. So pick the most specific category that is still true for the product. Our free Shopify product category finder searches all 64,292 categories.

How to add category metafields to a product

  1. In your Shopify admin, go to Products and open the product.
  2. In the Category section, search for the product’s category and select the most accurate result.
  3. The Category metafields section appears with the category name. Pick a value for each field that applies, or click Add new entry if your value isn’t in the list.
  4. Click Save.

Shopify can suggest a category for you from the product’s name, description and images, and you accept or reject it. Check the attributes it fills in too. On the Shopify Community, a jewelry brand reported “Imitation jewelry” suggestions for genuine 925 silver pieces.

Connect them to your variants

If a product comes in several colors or sizes, add the option in the Variants section and connect it to the category metafield when Shopify offers it. The option values then come from the metafield’s entries, and Shopify says that when you edit an entry, it updates everywhere that entry is connected. In a product CSV, a connected option shows product.metafields.shopify. followed by the attribute in its LinkedTo column.

Where category metafields are used

  • Storefront filters. Shopify’s Search & Discovery app lists category metafields as a filter source, including color swatches. Your theme has to support filters for shoppers to see them.
  • Sales channels. In Shopify’s channel mapping (Settings › Sales channels, then the channel’s Edit mappings), a channel field can take its value from a category metafield. If it uses one your store hasn’t filled in yet, Shopify asks you to add a value to a product first.
  • Reports. Shopify says you can use them as filters and dimensions in your Shopify analytics and reports.

Filling them in for many products

In Products, select the products, click Bulk edit, and add the fields you need under Columns: category metafields have their own group there, next to the Product category column. Edit the cells and save. For the rest of the bulk editor and CSV route, see our guide to bulk editing products in Shopify.

Mistakes to avoid

  • Leaving products without a category. No category, no category metafields.
  • Picking a broad category. It can mean fewer attributes to fill in.
  • Editing a default entry for one product. Entries are shared: change “Black” and every product connected to it changes too. Add a new entry instead.
  • Saving suggestions unread. A suggested category or attribute that contradicts your product is worse than an empty field.
  • Putting attributes in tags only. Tags still work for your own groupings, but color, size and material belong in the fields that filters and channel mappings can read.

Doing this for every product

Setting a category and seven to twenty-four attributes per product is where large catalogs stall.

Fix your product copy for Google, Shopping and AI search

ProductReady is our Shopify app. A free check reads every active and draft product and shows what each one is missing. Then it writes new copy from your own product details: the product title and description, SEO title and meta description, Google Shopping title and description, Facebook & Instagram title and description, an AI summary, and image alt text. It also suggests a Shopify category, product type, tags and weight, and attributes such as colour, size and material from Shopify’s category list.

By default, you preview every change and apply it in one click, one product or one batch at a time, and you can undo it from version history within your plan’s history window. Adding a new product? Type a working title and a few notes, and ProductReady creates it in Shopify (as a draft unless you choose otherwise), with its copy written for you to review. Your whole catalog is checked at least once a month, new and changed products are flagged, and you can run a check yourself any time — checking is always free.

See everything ProductReady does

Sources