# Metafields or metaobjects? A working rule for Shopify data

Both extend Shopify's data model, but they solve different problems. The rule that decides it in one question, and the mistakes that force a rebuild later.

Source: https://shopindev.com/en/blog/shopify-metafields-metaobjects-guide/
Last updated: 2026-10-03

Shopindev Team

**In short:** Use a metafield when a value belongs to one record only, and a metaobject when the same value is shared by many records (such as a size chart used by twelve products) referenced from each product. Define metafields with types rather than free text, keep reusable content in metaobjects instead of theme code, and enable storefront visibility in the definition from the start.

Shopify's built-in fields cover a product's title, description, price and images. Everything a real catalogue also needs (fabric composition, care instructions, a size chart, the certification a product carries, the designer behind it) has to live somewhere else. That somewhere is metafields and metaobjects, and choosing the wrong one is the single most common reason a store's data model has to be rebuilt eighteen months in.

The distinction is not complicated once you see it, but Shopify's own naming does not make it obvious.

## What is the difference between a metafield and a metaobject?

A metafield is a single custom field attached to one existing record. "This product's fabric is 80% merino." It belongs to that product and nothing else. Shopify defines the field once (a metafield definition) and then every product can carry its own value.

A metaobject is a custom record type of your own. It is not attached to anything by default. It exists independently, with several fields of its own. A store location, a designer profile, a size chart, a shipping-policy block: each is a small structured record you want to define once and reuse.

The two connect through a reference. A metafield on a product can point at a metaobject entry. That is how a product says "my size chart is this one" without the chart being duplicated on every product that shares it.

## The one question that decides it

Ask whether the value is ever shared. If the answer is no (this fabric composition belongs to this product and no other) use a metafield. If the answer is yes (twelve products share the same size chart, and when it changes it should change everywhere) use a metaobject and reference it.

This is the rule most stores get wrong in the same direction. They start with metafields because they are simpler to set up, then copy the same size chart text into ninety products. The day the chart changes, someone has to edit ninety records, and in practice they edit sixty and miss thirty.

## Where the rebuilds come from

Three patterns cause the expensive kind of rework.

Using plain text where a typed field belongs. A metafield defined as single-line text will happily accept "80% merino", "80 percent merino wool" and "Merino (80%)" for the same thing. Once a few thousand products carry inconsistent free text, you cannot filter or template against it. Shopify supports typed definitions (number, dimension, list, product reference, file) and the type is what makes the data usable later.

Storing content in the theme rather than in data. A shipping-information block written straight into a Liquid section looks fine until the store needs it in three languages and on two templates. Metaobject definitions support translation and storefront publishing as first-class settings; theme markup does not.

Not planning for the storefront. A metafield or metaobject is not visible to the storefront unless the definition exposes it. Teams routinely build a full data model in the admin, then discover at template time that nothing is readable from Liquid or the Storefront API. The visibility setting belongs in the initial definition, not in an emergency migration later.

## A model that holds up

For a mid-sized catalogue the shape that tends to survive looks like this. Product-specific facts (composition, weight, country of origin, care code) are typed metafields on the product. Anything editorial and reusable (size charts, care guides, designer bios, certification explainers) are metaobject definitions, referenced from products by a metafield of type metaobject reference.

Collections get their own metafields for the things a category page needs and a product does not: an intro paragraph written for search, an FAQ block, a hero image sized for the template.

The test is whether a merchandiser can add a new product without touching the theme, and whether changing one shared fact changes it everywhere. If either answer is no, the model is not finished.

## Metafields and SEO

Structured product data earns its keep twice. It drives the on-page detail that shoppers compare, and it feeds the structured data that search engines and answer engines read. A product schema built from typed metafields stays accurate as the catalogue changes; one hand-written into the theme drifts within a season.

The same applies to collection metafields. Category pages carry most of a store's search demand, and an intro written into a collection metafield can be edited by the merchandising team without a developer in the loop.

Structured product data pays off twice, in the theme and in search results: see [product schema on Shopify](https://shopindev.com/en/blog/shopify-product-schema-rich-results/). We model metafields as part of [Shopify theme development](https://shopindev.com/en/shopify-theme-development/).

We build the data model before the theme, not after. If your catalogue has outgrown Shopify's standard fields, we will map what belongs in metafields, what belongs in metaobjects, and what should never have been in the theme.

This article is part of [The Shopify platform, explained](https://shopindev.com/en/blog/topic/shopify-platform/). That page collects every article on the subject, with the questions it answers.

### [Shopify Theme Development](https://shopindev.com/en/shopify-theme-development/)

Custom themes built on Online Store 2.0 and Dawn.

Learn more about Shopify Theme Development

[Chat on WhatsApp](https://wa.me/905334718258?text=Hello%20Shopindev%2C%20I%20would%20like%20to%20talk%20about%20my%20Shopify%20store.)

## Questions on this topic

### What is the difference between a metafield and a metaobject?

A metafield is a custom field attached to one record, such as a product's fabric. A metaobject is a reusable record type of its own, such as a size chart, that many products can reference.

### When should I use a metaobject?

When the same information is shared by several records and should change everywhere at once when it is edited.

### Why should metafields be typed?

Typed definitions (number, dimension, list, reference) keep data consistent so it can be filtered, templated and used in structured data. Free text drifts.

### Can metaobjects be translated and shown on the storefront?

Yes. Metaobject definitions support translation and storefront publishing; enable storefront access in the definition from the start.

## More articles

- [Shopify vs BigCommerce in 2026: plans, fees, limits and when switching pays](https://shopindev.com/en/blog/shopify-vs-bigcommerce/): BigCommerce now ties every plan to trailing 12-month sales and Shopify does not. Prices, fees, catalogue model, checkout, B2B and apps compared, and when a move is worth it.
- [Connecting Shopify to an ERP or inventory system: Linnworks, Brightpearl, NetSuite and the decisions that matter](https://shopindev.com/en/blog/shopify-erp-inventory-integration/): Which data should flow between Shopify and your ERP or inventory system, which side owns what, how connectors differ, and the edge cases (bundles, partial shipments, refunds, multi-currency) that break integrations in practice.
- [How to update a Shopify theme without losing your customisations](https://shopindev.com/en/blog/update-shopify-theme-without-losing-changes/): Shopify's one-click theme update keeps your theme editor settings but not your code edits. What carries over, what does not, and a safe routine for updating a customised theme without breaking the live store.

---

Shopindev is a Shopify and Shopify Plus partner agency, registered in London. Contact: WhatsApp +90 533 471 82 58, email hello@shopindev.com, https://shopindev.com/en/contact/
