Flat illustration of product cards with extra detail fields and labels on a dark green background with green accents

Shopify Metafields: Add Custom Data to Products

By the Dropship Stair team. Last reviewed: November 2026.

Shopify metafields are custom fields that store extra product data Shopify has no box for, like care guides, material lists, and spec sheets. You create a definition once, fill in a value per product, and connect it to your theme so shoppers see it.

Key takeaways:

  • Shopify metafields are custom fields that attach extra data, like care instructions or specs, to a product, variant, collection, customer, or order.
  • Create the definition first, then fill in values per product. A field with no definition is plain text Shopify cannot check or filter.
  • Pick the strictest type that fits the data. Text, numbers, dates, files, and references each behave differently in the theme.
  • Show values with dynamic sources in the theme editor, or with a line of Liquid when a block has no dynamic source option.
  • Use a metaobject when many products share the same record, like one size guide, and a metafield when the data belongs to one product.

What are Shopify metafields?

Shopify metafields are custom fields that hold extra data on a part of your store. Each one has a definition, which sets the name, type, and rules, and a value, which is the data you enter for one product, variant, or customer.

Every Shopify store ships with standard fields: title, price, description, and vendor. Those cover the basics, but real products need more. A skincare bottle needs an ingredient list and a jacket needs a care guide. None of those have a built-in box, so sellers used to cram them into the description, where shoppers could not find them. Metafields give each fact its own labeled slot.

The definition is the part you set up once. It holds the name, like Care instructions, the type, like multi-line text, and the namespace and key, like custom.care_instructions, which is the field’s address. Shopify builds that address from the name, and you can edit it before you save. The value is what you type in per product.

Where can you use Shopify metafields?

You can attach Shopify metafields to products, variants, collections, customers, orders, pages, blogs, and the shop itself. Products are the most common home, but the others solve real problems too.

Variant metafields matter when the detail changes by option, like a different care note per shirt color. Collection metafields work for a banner or a short intro at the top of a category page. Customer metafields can hold a size preference or a trade account number, and order metafields can hold a gift message or a delivery note.

Shop metafields hold facts that belong to the whole store, like a returns phone number, so you can show them in the footer without hard-coding them into the theme. Metafields can also work as filters and dimensions in Shopify analytics reports.

What types of data can a metafield hold?

A metafield type decides what you can enter and how the theme can use it. Pick the strictest type that fits, because the type controls validation, search, filtering, and how the value prints.

Type What it stores Where it shows
Single-line text Short labels like material or brand Product subtitle, spec row
Multi-line text Longer plain text with line breaks Care instructions, ingredient list
Rich text Formatted text with headings, lists, and links Detailed guides, FAQ answers
Integer or decimal Whole or decimal numbers Pieces per pack, technical specs
True or false A yes or no flag A New badge, a warranty flag
File An image, video, or PDF Size chart image, manual download
Dimension, weight, volume A number with a unit Shipping size, liquid content
Reference A link to another product, page, or metaobject A Complete the look block, a shared size guide

Start with single-line text, multi-line text, and file for most stores. Reach for reference only when a simpler type cannot hold what you need.

Every type can hold one value or a list of values. A list of file references becomes a small gallery, and a list of product references becomes a Complete the look row.

How do you create Shopify metafields in the admin?

You create Shopify metafields from the resource itself, or from Settings. The steps take about two minutes per field, and you need no app and no code.

First, open Settings, then Metafields and metaobjects. Pick the resource, like Products, and click Add definition. Type a clear name, like Fabric. Shopify suggests a matching standard definition when one fits, and you should take it. Themes and apps already know how to read standard definitions, and they do not count toward your limits. Shopify’s own guide to creating custom metafield definitions walks through the same steps.

Next, check the namespace and key. Shopify builds it from the name, like custom.fabric. Keep it short and stable, because theme code refers to it. Then click Select type and pick the type that matches the data. Switch One value to List of values if a product can hold several, like several materials.

Add a short description so your team knows what belongs in the field, and set validation rules when the type offers them, like a character limit or a number range. Click Save, then open a product, scroll to the Metafields section, and fill in the value.

How do you display metafields on your storefront?

A metafield with a value but no theme connection is invisible to shoppers. To show it, connect it in the theme editor with dynamic sources, or print it with Liquid when a block has no dynamic source option.

In the theme editor, open Online Store, then Themes, then Customize, and open your product template. Add a block that fits the content, like a collapsible row for care instructions. Click the connect dynamic source icon, pick the metafield, and save. The block now pulls the right value for each product. This works in Online Store 2.0 themes like Dawn. If you are still picking a theme, our guide to the best Shopify themes for dropshipping covers the ones that handle dynamic sources well.

When a section has no dynamic source option, Liquid does the job. A line like {{ product.metafields.custom.care_instructions.value }} prints the value for the product on the page. For reference types, .value returns the linked product or file itself, so you can print its title or pass its image to an image tag. If you are not comfortable editing theme code, keep to dynamic sources.

Check the result on a real product page before you move on. Open two or three products with different values and confirm each page shows its own facts. A field that shows the same value everywhere is usually connected to the wrong source. Our guide to product page copywriting for Shopify shows how the words around those facts should read.

What is the difference between metafields and metaobjects?

A metafield holds one value on one resource. A metaobject is a record of its own, with several fields, that many products can point to. Use a metafield when the data describes one product, and a metaobject when many products share the same record.

A size guide is the classic metaobject. It has fields for the chart image, the measuring notes, and the size table, and you build it once under Content, then Metaobjects. Each product then holds a metafield of type metaobject reference that points at the right guide. Change the guide once and every product that points to it updates. The same pattern fits FAQ items that repeat. Our guide on how to add a FAQ page to Shopify pairs well with this setup.

Shopify raised the caps in October 2025: merchants can create up to 256 metafield definitions per resource type, 128 metaobject definitions on Basic, Shopify, and Advanced plans and 256 on Plus and Enterprise, and up to 1,000,000 entries per metaobject definition. Standard definitions do not count toward those limits. See the full numbers in Shopify’s changelog on the increased limits.

A simple rule covers most choices. If the fact changes from product to product, use a metafield. If the same fact repeats across products and has more than one field of its own, build a metaobject and point at it. Getting this choice right early saves a rebuild later. When you set up a new store, run through our Shopify store launch checklist.

What mistakes should you avoid with metafields?

Most metafield trouble comes from rushing the setup. A few habits keep the data clean from the start.

  • Picking the wrong type. Text in a single-line field cannot hold a list, and a number stored as text cannot be sorted or used in a filter. Choose the type that matches the data.
  • Skipping the standard definition. Shopify ships ready-made definitions for common fields. Check for one before you build a custom field, because themes and apps already understand the standard ones.
  • Letting apps pile up fields. Every app can create its own definitions, and a store with ten apps can end up with dozens of fields that do the same job. Audit the list under Settings now and then, and remove what no page uses.
  • Forgetting to connect the field to the theme. Values sit in the admin and never reach the shopper until a block or a Liquid line pulls them in. Fill in a value, then open the product page and confirm it shows.
  • Using vague names. A field called Info or Extra tells the next person nothing. Name fields plainly, like Fabric or Warranty years, so anyone can fill them in right.

Metafields reward a small amount of planning. List the facts your product pages are missing, check the standard definitions first, and build three to five fields that cover most of your catalog. If you are starting from scratch, our guide on how to start dropshipping on Shopify walks through the full setup, and a pre-built Shopify store gives you a working store with the basics already in place. Strong product pages also help search, so read our guide to SEO for Shopify product pages.

Frequently asked questions

Do I need an app to use Shopify metafields?

No. Shopify includes metafields on every plan, and you can create definitions in the admin under Settings, then Metafields and metaobjects, with no app and no code. Apps can add extras like bulk editing, but the core tools for creating and showing metafields are already built in.

Can I add metafields to variants and collections?

Yes. Shopify supports metafields on products, variants, collections, customers, orders, pages, blogs, and the shop itself. Use variant metafields when a detail changes by option, like a different care note per color. Use collection metafields for a banner or intro that belongs to a whole category page.

How many metafields can I create on Shopify?

Merchants can create up to 256 metafield definitions per resource type, so products, variants, and customers each get their own 256. Metaobject definitions are capped at 128 on Basic, Shopify, and Advanced plans, and 256 on Plus and Enterprise. Standard definitions do not count toward these limits.

Why is my metafield not showing on my product page?

The common cause is a missing theme connection. A value in the admin stays invisible until a block pulls it in with a dynamic source, or a Liquid line prints it. Check that the block is connected to the right field and that the product has a value filled in.

What is the difference between a metafield and a metaobject?

A metafield is one extra field on one resource, like a care guide on a single product. A metaobject is a reusable record with several fields, like a size guide with a chart and notes. Many products can point to the same metaobject, so one edit updates them all.

Last reviewed: November 2026.

Share the post

Scroll to Top