Metaobjects: a custom data type, not just a custom field

Metafields and metaobjects solve different problems. Here's the difference, and when a metaobject is the right tool.

· 3 min read

A field vs. a thing

A metafield extends something Shopify already has: a product gets a "Care" field, a collection gets a "Season" field. A metaobject is its own entity, with its own fields, that products link to. "Brand" is the clearest example: instead of typing your brand's name and story into every product, you create one "Acme Outdoor" brand entry with a logo, a story and a founded-in year, and every product in that brand links to it.

Where this pays off

Change the shared entry, and every product that links to it updates. That's the opposite of a size chart pasted into fifty product descriptions, each one slightly different by the third edit.

Metaobjects move with your products

Content entries — Shopify's name for metaobjects in the admin — are one of the types a clone copies into staging, along with the products that link to them, so a staging store you build from doesn't end up with broken links to entries that were never copied.

Where to start

If you're typing the same paragraph into more than a handful of products, it's probably a metaobject waiting to happen, not a metafield.

Build it once, link it everywhere.

Join the waitlist: 50% off your first year

Read next: Metafields · Why we built a Table field