measurement
Measurement from one of the following metafield types:
dimensionvolumeweight
| Properties | Type | Description |
|---|---|---|
unit | string | The measurement unit. |
value | number | The measurement value. |
{
"unit": "MILLIMETERS",
"value": 98.2
}
This object is returned by a weight, volume, or dimension metafield. Access it through the metafield's value:
{{ product.metafields.custom.net_weight.value.value }} {{ product.metafields.custom.net_weight.value.unit }}
20 KILOGRAMS