Two products keep their own capacity values and reference one shared care guide.
Journal
Shopify Development & Integrations · 6 min read

Shopify metafields vs metaobjects: decide what owns the content

Use a Shopify metafield for an extra attribute belonging to a product, variant or another existing resource. Use a metaobject for a structured content record with its own fields. When a product needs that record, a reference metafield connects them. They often work together [1].

The useful question is who owns the information and what should change together. A bottle’s capacity belongs to that product or variant. A care guide shared by several bottles can have its own title, instructions and image. Choosing that relationship before entering the content makes later edits easier to control.

Start with the field Shopify already provides

Check whether a standard Shopify field or an existing category metafield already describes the information. Creating a second custom field for the same fact gives your team two places to maintain it. Shopify’s category metafields provide attributes associated with product categories, and some use metaobject entries behind the scenes [2].

If a custom field is needed, decide whether the value belongs to the whole product or changes with the selected variant. In our illustrative example, two separate bottle products have capacities of 500 mL and 750 mL. If those sizes were variants of one product instead, the capacity would need variant-level ownership and a display connection that follows the selected variant.

Start with the information to store. If an existing field fits, use it. Otherwise ask whether it is an attribute of an existing resource or a content entity with its own structure. Store a product capacity as a typed metafield; define a structured care guide as a metaobject and reference its entry from products that need it.
Choose the owner before the field type. A metaobject can be useful even before it is reused; a metafield can contain a list or a reference, so “one value versus many values” is not a reliable dividing rule.

Separate the definition from the content

A definition describes the structure. A metafield definition specifies what a field accepts; each product then has its own value. A metaobject definition describes a set of fields; each entry is one record filled with content [1–3]. Think of “Care guide” as the structure and “Bottle care” as one entry.

  • Product capacity: a typed volume metafield with a value and unit, such as 500 mL. Each product keeps its own value [7].
  • Care guide: a metaobject definition with a title, instructions and an image field. Choose field types and validation to match how editors will use them.
  • Bottle care: an entry containing the actual approved content. Other guides can be separate entries using the same definition.
  • Product care guide: a metaobject-reference metafield that selects the entry for that product. Choose a single reference when one guide is intended, or a list when the product legitimately needs several [4].

The reference matters. Copying “Bottle care” into a plain text field does not create the same typed relationship. Likewise, pasting the instructions into every product leaves independent copies that can drift apart. Use the reference when the products should share the same maintained record.

Make shared editing intentional

In the example below, Bottle A and Bottle B reference the same guide entry. Their capacities remain independent. Editing the shared guide changes the content those references resolve to; editing Bottle A’s capacity should not change Bottle B’s capacity. The storefront still needs to read those fields correctly.

Bottle A owns capacity 500 mL and Bottle B owns capacity 750 mL. Each has a care-guide reference pointing to the same Bottle care metaobject entry containing title, instructions and image. A guide edit affects both references; the two capacity values remain local.
Arrows mean “references this entry,” not a copy operation. Before editing a shared guide, check which products use it. This is an illustrative model within one store, not a claim of automatic synchronization across stores.

If one bottle needs different instructions, decide whether it needs a different guide entry or information local to that product. Do not modify a shared entry just to fix a single product unless the edit is also right for every other product that uses it. Give the content owner an entry name they can recognize and a clear rule for when to reuse it.

Build a small example before filling the catalog

  1. Write down the owner of each field, its type and whether one or several values are allowed. Identify any existing category fields before adding custom definitions.
  2. Create the Care guide metaobject definition and one example entry. In Shopify admin, definitions are managed under Settings > Metafields and metaobjects; entries are managed under Content > Metaobjects [3,4].
  3. Add a product metafield definition of type Metaobject and select the intended definition. Choose one value or a list deliberately [4].
  4. Open two example products and select the same guide entry in their reference field. Add their separate capacity values, keeping the unit consistent.
  5. Keep a third product on a different entry or with no guide reference. Use it to check that a later shared edit has the intended scope.

Agree on required fields and validation before bulk entry. For example, a guide that cannot be understood without instructions should not depend on an editor remembering to fill an optional-looking field. The exact validation depends on the field type and your content needs; it is part of the definition, not a substitute for reviewing the writing [1,3].

Check stored data and theme display separately

Saving a value does not guarantee that customers can see it. A supported theme setting or block must connect to the relevant dynamic source, or a developer must render it with code. The setting must accept the field’s type, and the template must have the right context. A product metafield cannot simply be connected on the homepage as though a particular product were already selected [5].

Shopify’s merchant guidance also requires Storefronts access for metaobjects used by the online store [4,5]. Check that access setting before diagnosing the theme. If the data is present in admin but absent in the preview, inspect the connection, supported type and template context before duplicating the content into another field.

  • Both reference fields select the intended guide entry, rather than similarly named separate entries.
  • A controlled change to the example guide appears wherever the preview reads that shared entry; the third product behaves as intended.
  • Changing Bottle A’s capacity leaves Bottle B’s capacity unchanged. If the field belongs to a variant, switching variants shows the matching value.
  • The theme preview displays the correct guide fields, readable text and the intended image on desktop and mobile.
  • A missing optional reference produces an intentional empty state, without a blank heading or broken image.

Use approved test content and preserve the previous values before checking shared edits. Record the products, entry and template tested. Once the example behaves correctly, expand the model to the rest of the catalog and give someone responsibility for future changes.

Two questions before implementation

Do I need an app to create metaobjects?
You can manage merchant-created metaobject definitions and entries in Shopify admin [3]. An app is not a prerequisite for this example. Theme display or a more specialized integration may still need developer work; assess that separately from storing the content.
Will changing the theme delete my metaobject content?
Shopify stores metaobject data outside the theme, so it can be reused with another theme [6]. That does not guarantee that the new theme has the same display connections. Check its templates and supported settings in preview before publishing it.

Start with two products and one shared entry. If your team can explain which edit affects one product, which affects both, and where the theme reads each value, the content model is ready for a wider rollout.

Sources

Manish Vasaniya, Shopify Expert, Migration, CRO & AI Commerce Specialist
About the author
Manish Vasaniya
Shopify Expert, Migration, CRO & AI Commerce Specialist

Manish Vasaniya helps ecommerce founders and teams migrate to Shopify, improve conversion, and manage the long-term evolution of complex storefronts. His work connects commerce strategy, UX, engineering, analytics, integrations, and practical AI adoption, giving brands a technical and commercially grounded path from platform decision to post-launch growth.

Shopify developmentContent modelingTheme integrationStore maintenance