> For the complete documentation index, see [llms.txt](https://help.accentuate.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.accentuate.io/metafield-definitions/fields/field-data-type/shopify-field-types/shopify-weight.md).

# Shopify » Weight

A Shopify Weight type allows you to select a unit and a decimal value to go with that unit.\
\
Weight units can be any of **oz**, **lb**, **g** or **kg**.\
\
The entered weight is then available as a JSON structure with *unit* and *value* properties, for example:

```liquid
{% assign weight = product.metafields.accentuate.weight.value %}
<p>The weight is {{ weight.value }}{{ weight.unit }}</p>
```

Referencing *.value* alone will render the output as "*value*\<space>*unit*", so this works as well:

```liquid
<p>The weight is {{ product.metafields.accentuate.weight.value }}</p>
```
