Skip to content

Last checked November 29, 2026

Shopify metafields: add your own fields to products, and show them on your store

Metafields are extra fields you add to Shopify records such as products, variants, customers and orders, to store details Shopify does not have a box for, like care instructions or a fabric. You create a definition once in your admin, fill in the values, and connect them to your theme without code if it supports dynamic sources.

What are Shopify metafields used for?

Anything you want to show or use that Shopify has no field for.

  • Products: care instructions, materials, size charts, ingredients, a second description.
  • Variants: a different image or a shade name per variant.
  • Customers: a loyalty tier or a trade account number.
  • Orders: a gift message or a delivery slot.

How do you add a metafield in Shopify?

  1. In your Shopify admin, open Settings, then Metafields and metaobjects, and pick the part of the store, such as Products.

  2. Add a definition. Pick a standard one if it fits, or create your own with a name and a type, such as single line text, number, file or product reference.

  3. Set the rules, such as a maximum length or a list of allowed values, so everyone fills it in the same way.

  4. Open a product and fill in the new field in its Metafields section.

  5. Connect it to your theme (next section).

How do you show metafields on your store without code?

If your theme uses JSON templates, which Shopify's own themes do, you connect a metafield in the theme editor.

  1. Create the metafield first. It must exist before you can connect it.

  2. Go to Online Store, Themes, and click Edit theme.

  3. Open the template, such as the product page, and click the section where it should show.

  4. Next to the setting you want to fill, click the dynamic source button and pick your metafield.

  5. Save.

Older themes without JSON templates need a developer to add the metafield in the theme code.

What is the difference between metafields and metaobjects?

A metafield adds one field to something that already exists, such as a product.

Metafields and metaobjects compared

  • What it is

    Metafield
    An extra field on an existing record
    Metaobject
    A new record type you define
  • Example

    Metafield
    Care instructions on one product
    Metaobject
    One size chart linked to many products
  • Edit once, change everywhere

    Metafield
    No
    Metaobject
    Yes

A metaobject is a new kind of record you design, with its own fields, which you can then link to from many products. A size chart used by 40 products is a good metaobject: you edit it once and every product shows the change.

Shopify's category metafields, such as color, use metaobject entries for their values.

From Shopify's developer docs, read on 29 November 2026.

What are the limits of Shopify metafields?

  • Up to 256 definitions per resource type, such as 256 product metafield definitions.
  • Most types hold up to 64KB of data. No value can be larger than 2MB.
  • Apps get their own allowance and keep their fields in their own namespace, apart from yours.

Few stores reach these limits. The usual problem is the opposite: fields created by old apps that nobody uses, cluttering every product page in the admin.

Metafields when you migrate to Shopify

Moving from Magento, WooCommerce or another platform, your custom attributes usually become metafields or metaobjects.

Map each old attribute to a definition before the import, so the data lands in a field with rules, not in a description.

How we use metafields

Every store we build or migrate uses metafields and metaobjects for product details, size charts and filters, so the team can edit them without a developer.

We have done this across stores we built and migrated, and we name no project here.

If you need one or two extra fields on your products, you can set them up yourself in an afternoon with the steps above. You do not need us.

Product data in a mess?

Book a call and we look at how your product details are stored and shown, and what to clean up first.

Questions about Shopify metafields

What is a metafield in Shopify?

An extra field you add to a Shopify record, such as a product, variant, customer or order, to store information Shopify has no built-in field for.

Do I need an app for Shopify metafields?

No. You can create definitions and fill them in from your Shopify admin, and connect them to a theme with JSON templates in the theme editor.

How many metafields can I have in Shopify?

Up to 256 metafield definitions per resource type. Most types hold up to 64KB each, and no value can exceed 2MB.

Why can't I see my metafield in the theme editor?

Your theme may not use JSON templates, the metafield type may not fit that setting, or the definition does not exist yet. Create the definition first, then look again.

What is the difference between a metafield and a metaobject?

A metafield adds a field to an existing record. A metaobject is a new record type you define and can link to from many products.

Want a team that knows this already?

Book a call, or start with a free store audit. We tell you what we would change first, and what it costs.