Money filters
Money filters format prices according to the currency settings defined in the Shopify admin.
money
number
|
money
Formats a given price using the store's HTML settings without including the currency symbol.
money_with_currency
number
|
money_with_currency
Formats the specified price according to the store's HTML and currency settings.
money_without_currency
number
|
money_without_currency
This code formats a price according to the store's HTML settings, but it doesn't include the currency symbol.
money_without_trailing_zeros
number
|
money_without_trailing_zeros
Formats a given price using the store's HTML settings, without including the currency symbol. It also removes the decimal point (either . or ,) and any trailing zeros.
If the price has a non-zero decimal value, the output will be the same as the money filter
.