Back to Money Support

jeroen21019
jeroen21019

How whould you use this in the frontend ? {{ model.amount| money }} seems to expect an array ?

inIT
inIT

Hello,

Thanks for contacting us.

It really does. Just use {{ model.price|money }} instead. An amount is just a number. That's the basics of the plugin. To express the monetary value you have to use an amount and the currency.

Best regards,

Tomasz Strojny

jeroen21019
jeroen21019

Got it, thanks for the fast reply !

Last updated

inIT
inIT

Good to know. If you're happy with the plugin, you can hit the review button to make us happy :)

Best regards,

Tomasz Strojny

1-4 of 4