# Customer metafield

> The values of `customer-metafield`.

Status: Ready (Smootify 2.0)  
URL: https://www.smootify.io/docs/astro/reference/attributes/customer-metafield  
Updated: 2026-10-21

## Where it can go

- **Anywhere** on the page.
- On text, rich, container, link, a real `<button>`, 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] |
