Add category metafields
You can add category metafields to your store and migrate your existing products to category metafields.
When you assign a standard category, it unlocks a set of pre-defined category metafields. Each category metafield comes with related, default entries. Additionally, you can connect these to your variant options.
For example, if you add the product category Apparel & Accessories > Clothing > Clothing Tops > Shirts
, then you can add category metafields for size
, neckline
, sleeve length type
, top length type
, age group
, fabric
, target gender
, clothing features
, and color
. You can use color
as a variant option and add colors such as black
and red
.
You can edit the color entry for black
to be graphite
in a single location, and then your variant values are updated anywhere that color is connected. When you use color entries as variant options, you can display variant options as swatches for color options on your storefront products pages.
Learn more about Shopify's Standard Product Taxonomy.
On this page
Add category metafields
You can add category metafields when you assign a standard category to one of your products.
Based on information added in your product details, you might have a suggested category displayed in the Category field. After you save your product, any unedited suggestions are confirmed.
Steps:
Connect a variant to category metafields
When you're adding a variant, a list of category metafields display that you can connect to or you can create a custom option.
Steps:
Disconnect a variant from category metafields
You can disconnect a category metafield from a variant.
Steps:
Migrate existing variant options to category metafields
If you've already created a product with variant options, then you can migrate your values to category metafields and quickly generate multiple new variant combinations. If you use category metafields to create your variant options, then you can edit variant option names in a single location and the names update wherever that category metafield is connected.
For example, if you currently offer three sizes (Small, Medium, and Large) and two colors (Red and Blue), and you want to add a third color Yellow, then this method will create the 3 possible sizes of yellow variants at one time.
Connect the category metafield to an existing option by clicking the dynamic source icon:
Edit or add entries for category metafields
You can edit or add new entries to your category metafields. You can edit entries from the product page in your Shopify Admin or from Content > Metaobjects. When you add new entries, they become available to add to any product connected to the category metafield. When you edit existing entries, they update everywhere that entry is connected.
Edit or add category metafields from the product page
You can add or edit category metafields from the product page for a specific product.
Steps:
Edit or add entries for category metafields from the Content page
You can edit entries for your category metafields from the Content page in your Shopify admin on both desktop and in the Shopify app.
Steps:
Add entries to category metafields from the Content page
You can add new entries related to category metafields from the Content page in your Shopify admin on desktop. After you add a new entry, you can use that in any product with the category metafield.
Steps:
- From your Shopify admin, go to Content > Metaobjects.
- Click the definition name for the category metafield that you want to edit or add to.
- Click Add entry.
- Fill out the fields for your new entry.
- Click Save.
Shopify's Standard Product Taxonomy limitations
Product options created with Shopify's Standard Product Taxonomy have the following limitations:
- In order to use Shopify's Standard Product Taxonomy to power swatches on Dawn, you must be using the latest version.
- New categories might not be compatible with sales channels. Review your product's sales channels before modifying a published product's category.
- Unit of measurement and dimension type attribute aren't currently available.
- Custom attributes are currently not supported.
- Attributes aren't supported in the following Shopify apps: Search and Discovery and Shopify Bundles.