Money
Money filters format prices based on the currency formatting that's defined in the Shoplazza admin.
money_with_symbol (money)
number |
money_with_symbol
returns string
Formats a given price.
TipIt has an alias
money
{{ product.price | money }}
{{ product.price | money_with_symbol }}{
"product": {
"price": "12.88"
}
}$12.88
$12.88money_without_currency
number |
money_without_currency
returns string
Formats a given price without the currency symbol.
{{ product.price | money_without_currency }}{
"product": {
"price": "12.88"
}
}12.88Updated about 1 month ago
