Guides

How to fill Shopify category metafields (product attributes) in bulk

By Pratik Poddar, developer of Botfound · Updated 10 November 2026

Category metafields are the attributes that come with a Shopify product category, such as colour, material, size or neckline. Set the category first, then fill them in the bulk editor's Category metafields columns, by CSV, or with a rule that writes one value to every matching product. Filled attributes let agents and storefront filters match a product to specific requests like "cotton shirt in blue".

What category metafields are

Category metafields map to a product category in Shopify's Standard Product Taxonomy. The taxonomy calls them product attributes. A shirt's category, for example, brings clothing size, neckline and sleeve length type. Their values are entries you pick from, which keeps them consistent across products.

Step 1: make sure every product has a category

No category, no category metafields. If many products are uncategorised, do that first (how to set categories in bulk).

Step 2: fill attributes in the bulk editor

  1. Select products of the same category in Products and click Bulk edit.
  2. Open Columns. Under Category metafields, tick the attributes you want to edit.
  3. Fill or drag values down, then Save. Shopify's guide: Editing metafields in bulk.

Work one category at a time. Mixed selections show many columns that only apply to some rows.

Step 3: use rules for attributes that follow your naming

Often the attribute is already in your data: "Linen" in the title, a "cotton" tag, a vendor that only makes leather goods. A Botfound rule can set one category metafield on every product that matches (for example IF title contains "linen" THEN set material to Linen), only where it's empty, with a preview of every change and undo afterwards.

Which attributes to fill first

Start with the ones shoppers say out loud: colour, material, size, target gender and age group. They turn a vague match into an exact one.

Questions

Are category metafields the same as custom metafields?

No. You define custom product metafields yourself in Settings > Custom data. Category metafields are defined by Shopify for each category.

Do variant options and category metafields conflict?

Shopify can connect an option such as Colour to a category metafield, so the option values become attribute entries. That keeps both in sync.

Want to see where your store stands first? The free Botfound check scores your 50 newest public products and your discovery files in about 10 seconds, with no install and no sign-up. Botfound is on the Shopify App Store: free for your first 100 products; Pro is US$19/month with a 7-day free trial.

More guides


Botfound by Tinkerer (Pratik Poddar) · 76, Vrindavan Vihar, Ajmer Road, Jaipur, Rajasthan 302019, India · pratik.phodu@gmail.com
Home · Free check · Guides · Support · Privacy policy · Terms · Shopify App Store