Customer metafield
The values of `customer-metafield`.
On this page
At a glance
Settings › Custom data › Customers
Loyalty level
Customer accounts accessRead
Shown on the pagecustomer-metafield="loyalty_level"Your level: Gold
Shoe size
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 value | What it is | Notes |
|---|---|---|
customer-metafield="key" | Customer value | — |
company-metafield="key" | Company value | — |
namespace="custom" | Namespace | on any; with [customer-metafield], [company-metafield] |
property="--metafield-color" | Color variable | on any; with [customer-metafield], [company-metafield] |
data-attr="href" | Into an attribute | on any; with [customer-metafield], [company-metafield] |
separator=", " | List separator | Used 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 digits | on any; with [customer-metafield], [company-metafield] |
data-path="items.0.name" | JSON path | on any; with [customer-metafield], [company-metafield] |