Shopify metafields are the official way to add structured attributes to products, variants, collections, customers or orders without changing the native schema. Since 2022 and metafield definitions, they're essential to any serious catalog team.
This guide covers the basics and bulk-editing practices — where Shopify hits its natural limits.
Typical stack around metafields
What is a Shopify metafield?
A metafield is a custom field attached to a resource (product, variant, collection, page, etc.). It has a namespace, a key, a type and a value. Example: custom.material = "Organic cotton".
The most useful types in e-commerce
single_line_text_fieldandmulti_line_text_field: specs, bottom-of-page SEO copynumber_decimalandnumber_integer: weight, dimensions, yearrich_text_field: formatted content (product FAQ, technical notes)product_referenceandcollection_reference: related products, parent collectionlist.*: value lists (compatibilities, internal tags)dimension,volume,weight: typed e-commerce units
Metafield definitions: the 2026 must-do
Since 2022, Shopify lets you declare metafield definitions from admin (Settings > Custom data). Benefits: strict typing, validation, in-admin editing, clean API exposure. Stop creating ad hoc metafields without definitions — that's the n°1 cause of data chaos.
Definition = validation
Automatic API exposure
In-admin product editing
Surface metafields in the theme
The piece everyone forgets. An unsurfaced metafield does nothing for users or SEO. In a Shopify 2.0 theme (Dawn and derivatives), add a section block that references the metafield in liquid: {{ product.metafields.custom.material }}.
Bulk edit 500 metafields
Shopify admin has no tabular metafield view. To edit 500 values, options are:
- CSV via Matrixify/Ablestar: slow roundtrip, error-prone.
- Admin GraphQL API: powerful but requires dev.
- Seegea: tabular view with metafield columns, inline editing, per-product rollback.
| Case | Shopify admin | Seegea |
|---|---|---|
| Create a definition | Yes, in Settings | No (relies on existing definitions) |
| Fill 500 values | Listing by listing | Inline bulk grid |
| Surface in theme | Manual liquid | Not handled (theme job) |
| Rollback after error | Impossible | Versioned per product |
| Audit "empty metafield" | No report | Saved view |
Use cases that replace apps
- Size guide: rich_text metafield on the collection, displayed at the bottom of every PDP.
- Product FAQ: JSON or rich_text metafield rendered via a liquid section.
- Auto parts compatibility: list of product_reference.
- Country of origin, warranty, CE mark: text metafields on a spec sheet.
See how we edit 1,000 metafields in 1 hour
30-min Google Meet · real case on your catalog
Metafields and Google Shopping
Merchant Center feed accepts custom attributes (custom_label_0 to 4, product_detail, additional_image_link). Mapping metafields in the feed pushes rich attributes without polluting product titles. Needs a feed app or a custom feed.
