2.0 Beta

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

What changed

Customer metafield

The values of `customer-metafield`.

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

At a glance

Settings › Custom data › Customers

Loyalty level

custom.loyalty_levelSingle line text

Customer accounts accessRead
Shown on the pagecustomer-metafield="loyalty_level"Your level: Gold
Shoe size

custom.shoe_sizeInteger

Customer accounts accessRead and write
Edited by the customercustomer-metafields-editor38shoe_sizeSave

Without customer accounts access the value stays empty. The editor saves only with Read and write.

More in the guide.

Where it can go

  • Anywhere on the page.
  • On text, rich, container, link, a real <button> (a Webflow Button is a link, a Form Button an input), image, video.

Values

Attribute and valueWhat it isNotes
customer-metafield="key"Customer value—
company-metafield="key"Company value—
namespace="custom"Namespaceon any; with [customer-metafield], [company-metafield]
property="--metafield-color"Color variableon any; with [customer-metafield], [company-metafield]
data-attr="href"Into an attributeon any; with [customer-metafield], [company-metafield]
separator=", "List separatorUsed as written, spaces included: a comma and a space joins with a comma and a space; on any; with [customer-metafield], [company-metafield]
data-digits="2"Decimal digitson any; with [customer-metafield], [company-metafield]
data-path="items.0.name"JSON pathon any; with [customer-metafield], [company-metafield]

    ↑ ↓ to moveEnter to openEsc to close