← All guides

TaxonomyForge guide

How to Add Material and Color to Shopify Products

Material and color often sit in a product's title or description, where filters and sales channels cannot use them. In Shopify they have a structured home as category metafields. This guide walks through setting them on a product, using your own color names, and connecting them to variants.

Set the category before anything else

Material and color fields are category metafields, so they appear after the product has a category. From your Shopify admin, go to Products and open the product. In the Category section, search for the category or click through the levels, and select the most accurate result.

Shopify may also add some category metafields and values for you, based on the product's name, description and images. Review what was filled in.

Add color and material values

Each field is filled by choosing an entry from a list. In the Category metafields section, click the field, then click again to open the list. Select an entry from the drop-down, then click Save on the product.

Use your own color names

Category metafields have default entries that you can use as they are or customize, and you can add new ones. Shopify's example is renaming "black" to "graphite" to fit your branding.

Connect color to variant options

If the product comes in several colors, the color entries can do double duty. Shopify lets you connect category metafields to variant options, and their entries to option values. Editing an entry then updates every variant that uses it.

SetupResult
Color as a plain text optionEach product's values are typed separately
Color option connected to the category metafieldEdit an entry once and it updates wherever it is used

Connected color entries can also be displayed as swatches on storefront product pages. Shopify notes that the Dawn theme needs its latest version for this, and that third-party theme support is listed in the theme's release notes.

Where the values show up

Filling these fields pays off in several places. Shopify's Search & Discovery app lists category metafields as a filter source, and filters based on them can display as swatches when the theme supports it.

For how these fields fit with the rest of the taxonomy, see Shopify product categories and taxonomy.

Doing this at scale

TaxonomyForge scans your catalog for empty attributes and missing categories. It proposes attribute metafields, including material and color, from your own product copy, and you approve each change one by one or in bulk, with every change audit-logged. See TaxonomyForge.

Doing this for a whole catalog or every order?

See how TaxonomyForge handles it for you.

Explore TaxonomyForge →

More TaxonomyForge guides