Black Friday

40% off every plan for a year with code BF2026. Until December 2.

See the prices
2.0 Beta

Smootify 2.0 is in public beta. Your 1.x store keeps working. Move when you want.

What changed

Product metafield

The values of `metafield` inside `smootify-product` or `cart-item`.

v2.0 beta
Open .md
On this page
  1. At a glance
  2. Where it can go
  3. Values

At a glance

1 Settings › Custom data › Products › Add definition

MaterialProduct metafield definition
NameMaterial
Namespace and keycustom.material
TypeSingle line text
Storefronts access

Without Storefronts access, the value never reaches the page.

2 Products › Linen shirt › Metafields

Metafields
Materialcustom.materialLinen
Ratingreviews.rating4.5 out of 5

The rating is written by a review app, in its own namespace: reviews.

3 In Webflow, inside smootify-product

metafield="material"Material: Linen
metafield="rating" namespace="reviews"★★★★★★★★★★ 4.5

Smootify reads custom unless the element has namespace.

More in the guide.

Where it can go

Values

Attribute and valueWhat it isNotes
metafield="key, like care_guide"Valueon text, rich, container, link, button, image, video
namespace="custom"Namespaceon any; with [metafield]
data-attr="href"Into an attributeon any; with [metafield]
separator=", or repeat"List separatorUsed as written, spaces included: a comma and a space joins with a comma and a space; on any; with [metafield]
data-digits="2"Decimal digitson any; with [metafield]
data-path="items.0.title"JSON pathon any; with [metafield]
data-path="width"JSON path, inside the elementOn elements inside a JSON [metafield]: one value each; on any; inside smootify-product [metafield], cart-item [metafield]
property="--metafield-color"Color variableon any; with [metafield]
data-format="table"As a tableA JSON field shaped as {“headers”:[…],“rows”:[[…]]}: on a <table> the header cell, the row and the cell are copied; with divs mark them with table=head|row|cell. Hidden when empty or not that shape; on container; with [metafield]

    ↑ ↓ to moveEnter to openEsc to close