Filters
Money Filters
Format monetary values as currency strings
Format monetary values as currency strings. All money filters accept a price value and return a formatted string using the shop’s currency.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Format monetary values as currency strings
| Filter | Description | Example |
|---|---|---|
money | Standard currency format | {{ product.price | money }} → $25.00 |
money_without_currency | Hide currency symbol | {{ product.price | money_without_currency }} → 25.00 |
money_without_cents_if_whole | Omit cents when .00 | {{ product.price | money_without_cents_if_whole }} → $25 |
| Filter | Description |
|---|---|
money_no_exchange | Format without currency conversion |
money_no_exchange_without_currency | Without exchange, no symbol |
money_no_exchange_without_cents_if_whole | Without exchange, omit .00 |
<!-- Multiply a money value -->
{{ product.price | money_times: 2 }}