Money filters format prices based on the currency formatting in the general settings of the shop.
money
Formats the price with the shop's HTML format without currency.
{{ 145 | money }}
€1.45
moneywithcurrency
Formats the price with the shop's HTML format with currency.
{{ 145 | money_with_currency }}
€1.45 EUR
moneywithouttrailing_zeros
Formats the price with the shop's HTML format without currency and drops the decimal separator (. or ,) and trailing zeros. If there are no trailing zeros, the filter behaves like money.
{{ 2000 | money_without_trailing_zeros }}
{{ 145 | money_without_trailing_zeros }}
€20
€1.45
moneywithoutcurrency
Formats the price without the currency symbol.
{{ 145 | money_without_currency }}
1.45