Data model

Shopify Metafields vs Options

Metafields = merchant-facing structured data. Options = customer-facing choice. Confusing them breaks your storefront or hides data from customers.

Last updated: July 30, 2026By

Install FreeAdd as a preferred source on Google

Metafields and product options both add information to a product, so merchants mix them up all the time. The short version: metafields hold facts you set about the product, and options hold choices the customer makes. Once you sort each piece of data into the right bucket, your product pages, filters and order details all get easier to manage.

Metafields are for structured merchant data

A metafield is a custom field you add to a product, variant, collection or customer. You create the definition once under Settings, then Custom data, and fill it in per product. Shoppers never edit it. Typical uses:

Options are for customer choice

Options are what the shopper picks or types on the product page. They come in three kinds:

If you are not sure whether a choice should be a variant or a custom input, our guide on variants vs line-item properties gives a simple test.

Side-by-side

MetafieldsVariant optionsCustom inputs (line-item properties)
Who sets itYouShopper picks from your listShopper types or uploads
Where it livesProduct or variant recordProduct's variant tableThe order line
Has stock or SKUNoYesNo
Changes per orderNoYes, from a fixed listYes, free-form
Example"Dishwasher safe: Yes"Size: 15 ozName: "Priya"

Can metafields drive options?

Yes, indirectly. Dynamic sources in Online Store 2.0 themes can pull metafield data into the product page, including the option area. A common example: the color swatch image for each variant comes from a metafield on that variant.

Some options apps also read metafields to decide which option set to show on which product. That is a setup convenience. The choices themselves still behave like options, and the shopper's answers still land on the order. We compare the two approaches in more depth in product options app vs metafields.

Access patterns

Developers working with the Admin API will find the details in our guide to the metafield API and options.

Worked example: a personalized mug

Here is how we would split the data for an 11 oz and 15 oz photo mug with a custom name:

Put the care instructions into a variant option and you get nonsense in your variant table. Put the name into a metafield and every buyer gets the same name. Each bucket has a job.

Common mistakes

Frequently asked questions

What's the difference between metafield and product option?

A metafield is structured data you attach to a product, such as care instructions or dimensions. A product option is a choice the customer makes, such as Size or Color, and it creates variants.

Should I use metafields for size charts?

Yes. Size chart data is reference information you set, not a customer choice. Store it in a metafield and render it in the product template.

Can metafields replace product options?

No. Metafields have no customer-facing choice interface and do not create variants or order data. They solve a different problem.

Do metafields affect SEO?

Only when they are rendered on the page, because then the content can be indexed. You can also feed metafield values into your structured data.

Are metafields visible on the storefront?

Only if you show them through Liquid or dynamic sources in the theme editor. Creating a metafield does not display it automatically.

Can customers edit product metafields?

No. Product metafields are set by you in the admin or through the API. Anything the customer chooses or types belongs in options or line-item properties.

What is the difference between metafields and line-item properties?

Metafields live on the product or variant and stay the same for every order. Line-item properties live on one order line and hold what that customer entered, such as a name or photo.

How many metafields can a product have?

Enough for nearly any store. Shopify sets limits on the number of metafield definitions per resource type, but most merchants never get close to them.

Related reading

Sources & further reading

Primary sources referenced in this article. We link to official platform documentation and standards bodies rather than secondary summaries so you can verify claims directly.

Try it free on Shopify

PIMW Product Personalizer's permanent Free plan includes live preview, custom options, and Cart Transform pricing.

Install PIMW Product Personalizer