money
A money value, in the the customer's local (presentment) currency.
{
"currency": {}
}
{
"currency": {}
}
Anchor to Referencing money objects directly
Referencing money objects directly
When a money object is referenced directly, the money value in cents is returned.
{{ product.metafields.details.price_per_100g.value }}
{{ product.metafields.details.price_per_100g.value }}
{
"product": {
"metafields": {}
}
}
Output
1796
Was this section helpful?