AgentReady · Switch sites
Raw Markdown

Metafields vs Metaobjects on Shopify: When to Use Which

Canonical: https://joinagentready.com/blog/metafields-vs-metaobjects-shopify

By Dylan Hunt April 2nd, 2026 How-to notes

Written by the Caffeine and Commerce team. For build work, see caffeinecommerce.com.

Shopify gives you two tools for custom data, and most stores reach for the wrong one first. The decision is actually one question: are you adding a field to something that exists, or creating a thing that doesn't?

Metafields: extra fields on things you already have

A metafield attaches a typed field to an existing resource: a product, variant, collection, customer, or order. Define it once under Settings → Custom data, and every product (or variant, or collection) gets that field to fill in.

Use a metafield when the data belongs to one specific item and changes per item:

The tell: if you'd write a different value for every product, it's a metafield.

Metaobjects: things Shopify doesn't have a record for

A metaobject is a standalone record you design yourself: its own set of fields, its own entries, existing independently of any product. Products can point at entries through a reference metafield, or the theme can use entries directly.

Use a metaobject when the same structured content is shared by many products, or belongs to no product at all:

The tell: if editing in one place should update many places, or the thing isn't attached to any single product, it's a metaobject.

The combination is the real pattern

The two aren't rivals. The standard shape is a metaobject for the shared thing, plus a reference metafield connecting products to it. A "Designer" metaobject holds the bio once; each product's "Designer" metafield points at the right entry; the product template renders whichever designer the product references. You get structure, reuse, and per-product connection without duplicating a word.

Showing it on the storefront, no app required

This deserves its own post, but the short version: in the theme editor, section and block settings connect to custom data through dynamic sources. Editing a text block on a product template, you'll see the dynamic source picker; choose the product's metafield and the block renders each product's own value. Shopify's docs also note that metaobjects with storefront visibility are available as dynamic sources for any theme setting, which is how a size-guide metaobject lands in a section that isn't tied to a product at all.

For themes that need full control, Liquid reads the same data directly:

{{ product.metafields.custom.care_guide.value }}

One honest limitation from the docs: dynamic sources work in section and block settings, not in general theme settings.

Why this matters beyond your theme

Structured custom data isn't just for human eyes. Specs in typed metafields can flow into structured data and product feeds, which is exactly what AI shopping agents read when deciding whether to recommend your products. A fit note buried in a description image is invisible to them; the same note in a metafield is data. That's the thesis behind AgentReady, and it starts with modeling your data in the right containers.

Next in this pillar: showing metafields on product pages without an app, step by step. If your catalog's custom data is currently living in description HTML and you want it restructured properly, that's a project we do often.

The practical next step is showing Shopify metafields on a product page without an app.

Quick answers

Frequently asked questions

What's the difference between a metafield and a metaobject?

A metafield adds a custom field to something Shopify already has: a product, variant, collection, customer, or order. A metaobject is a standalone custom record with its own fields that exists on its own and can be referenced from products or used directly in the theme.

Do I need an app to show metafields on my storefront?

No. In the theme editor, section and block settings can connect to metafield values through dynamic sources. Pick the setting, choose the dynamic source icon, and select the field. Liquid access is there for themes that need full control.

Can a metaobject appear anywhere on the site?

Metaobjects with storefront visibility are available as dynamic sources for theme settings, including outside product templates. That's what makes them right for shared content like size guides and brand stories.

Where do I create metafields and metaobjects?

Settings, then Custom data, in the Shopify admin. Define the structure once, then fill in values on each product, or create metaobject entries, from the same area.

Dylan Hunt

Author

Dylan Hunt

Builds Shopify catalog readability and AI answer visibility at AgentReady and Caffeine and Commerce.

About Dylan →

Comments

Every comment here comes from a verified email. Write yours, confirm from your inbox, and it's live.

Loading comments…

Share X LinkedIn Facebook

Written by Dylan Hunt, Founder, AgentReady. AgentReady audits Shopify structured data and checks approved changes on the live storefront. See plans.

For Shopify today

Schema for AI

Make your Shopify catalog easier for AI to understand.

From $9/mo

Run free audit → Explore Schema for AI

Free guide

The Shopify Functions Playbook

25 real things you can build with Functions, with the plan requirements and limits stated plainly. Emailed to you, readable immediately.

More in How-to notes

See all in How-to notes →