# Product metafield

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

Status: Ready (Smootify 2.0)  
URL: https://www.smootify.io/docs/reference/conditions/product-metafield  
Updated: 2026-10-13

## Where it can go

- **Inside any of:** [`smootify-product`](https://www.smootify.io/docs/reference/elements/smootify-product), [`cart-item`](https://www.smootify.io/docs/reference/elements/cart-item).

## Values

| Attribute and value | What it is | Notes |
|---|---|---|
| `if-metafield="key"` | If it has a value | — |
| `unless-metafield="key"` | Unless it has a value | — |
| `data-check-value="value to match"` | Equal to | with [if-metafield], [unless-metafield] |
| `namespace="custom"` | Namespace | with [if-metafield], [unless-metafield] |
