Metafields
Definition
Metafields are typed custom fields Shopify attaches to its own resources — products, variants, collections, pages, articles, customers, the shop itself. Each one has a namespace, a key and a declared type, and merchants edit them in the admin like any other field. They extend the data model without changing it, and themes and APIs read them wherever the parent resource is available.
Documented at https://shopify.dev/docs/apps/build/metafields.
How we've used it
Metafields are the seam between merchandising and code. The recurring move: anything that varies per product, per variant or per collection comes out of Liquid and goes into a namespaced field, so a launch is an admin task instead of a deploy. Product pages read them for tab copy, ingredient lists, badge rules, breadcrumb trails and a per-product accent color. A collection banner reads its headline and artwork from the collection itself, so one section instance serves the whole catalog. Variant-level fields carry the copy, SEO and swatch data that has to swap the instant a shopper picks a shade. The section keeps layout and fallbacks; the field owns what it says.
Builds using it
- Alt-text driven variant media gallery with tiered matching and full-screen lightbox — LUS Brands
- A collection template turned into a palette builder that carts one priced SKU — Nudestix
- A second product template whose add-to-bag switches between one cart line and several — Nudestix
- Main collection grid: merchandisable promo tiles, load-more and a filter blocklist — Nudestix
- Merchandisable homepage product carousel with a tag-driven badge engine and inline add-to-bag — LUS Brands
- Metafield-driven two-level FAQ accordion grafted into a help-center app's shell — LUS Brands
- Rebuilt 2026 PDP section with merchandiser-composable blocks and per-product ATC color — LUS Brands
- Configurable PDP block system on the Palo Alto theme (Recharge widget placement, size charts, siblings, quick view) — Three Ships
- "Save With Sets": shade-selectable kit contents on the component product's page — Nudestix
- Variant-aware PDP hero banner driven by a 'heroic' metaobject — LUS Brands
- Metafield-driven PDP content system: auto-built accordions, need-to-know strip and campaign widgets — Nudestix
- Product card with award badges, per-variant content payload and per-card structured data — Nudestix
- Metafield-driven product information tabs with mobile accordion and variant refresh — LUS Brands
- Color-accurate shade swatches driven by a merchandiser-editable hex registry — Nudestix
- Shade-level collection grid hydrated from an external faceting service — Nudestix
- 'Bundle and save' PDP block driven by a product-list metafield — LUS Brands
- Product-card hover video and a reusable deferred-media playback refactor — LUS Brands
- Cart page rebuilt around loyalty points, protected gifts and a dark order summary — Nudestix
- Creator collab video listing driven by article metafields — Nudestix
- Collection grid card on a licensed theme: metafield merchandising, a badge precedence chain, a hover-swap swatch element and first-row loading hints — Three Ships
- Tabbed collection product slider and the shared merchandising card — Three Ships
- Kids FAQ page: single-level variant of the FAQ engine — LUS Brands
- Featured-collection product card with metafield hero/hover media and a tag-driven badge stack — LUS Brands
- A-Z ingredient glossary with scroll-spy letter navigation and product cross-sell — Three Ships
- Metafield-driven breadcrumbs across product, collection, page, blog and article — LUS Brands
- Per-collection hero banner driven entirely by collection metafields — LUS Brands
- Grouped shade swatch picker with shade-finder dialog and GA4 shade-finder events — Nudestix
- Side-by-side product comparison drawer and modal table — Nudestix
- Subscription bundle grid with tiered unlock progress — Three Ships
- Metafield-driven editorial article template (TSB blog) — Three Ships
- Shade swatch rendering and per-variant content payload — Nudestix
- Pill variant picker with merchandiser-named size labels — LUS Brands
- Collapsible desktop filter sidebar that reflows the product grid instead of squeezing it — LUS Brands
- Four selectable How-To step layouts from a single metaobject step list — LUS Brands
- Tabbed mobile Shop menu with featured banner panel — Three Ships
- On-model shade carousel bound two ways to the Dawn variant picker — Nudestix
- Price snippet with a bundle 'value' metafield line and opt-out labelled price links — Nudestix
- Variant-aware price snippet with percentage + value savings badge — LUS Brands
47 further gated builds use it; their pages follow.
Related entities
Metaobjects · Dynamic sources · Liquid section schema and settings · Theme blocks