does anyone know if it's possible to divide two values?
For example:
product price / unit price = wanted result
Product price:
{{price.without_tax.formatted}}
A filter for unit price
{{#filter custom_fields 'Units per case' property='name'}}
<p>{{ value}}</p>
{{/filter}}
If I am to use something like:
{{#filter custom_fields 'Units per case' property='name'}}
<p>{{toFixed price.without_tax.formatted divide value}}</p>
{{/filter}}
I get a 0. If I don't include toFixed then nothing shows up. Not sure how to proceed. Please help.
(I know this is some crazy code but I don't know better.)