Streaming live at 10am (PST)

Template Dokumentation

I am currently working on a project and need to be able to display the price as a decimal number (without the € sign and intermediate dots and so on. Just plain unformatted text)

I then tried to reverse engineer the template values:
So for price it would be:

{{wf {“path”:“default-sku:price”,“type”:“CommercePrice”} }}

if i now change the type to like Plain Text then the output in the Page would be:

Map { “value”: 285000, “unit”: “EUR”, “decimalValue”: 2850, “string”: “€2,850.00”, “__typename”: “price” }.

So I assume that it would be possible to access the decimalValue property. I just dont know how…