Help
Frequently asked questions and other useful tidbits.
Money Filters
Updated on April 16th, 2008
- money(number)
-
Formats a number into money format.
{{ 1 | money }} # => 1.00 {{ product.price | money }} # => 9.50 - money_with_sign(number)
-
Formats a number into money format, and adds your currency sign. Set on the Store > Settings page of the admin.
{{ 1 | money_with_sign }} # => $1.00 {{ product.price | money_with_sign }} # => $9.50 - money_with_code(number)
-
Formats a number into money format, and adds your currency code. Set on the Store > Settings page of the admin.
{{ 1 | money_with_code }} # => 1.00 USD {{ product.price | money_with_code }} # => 9.50 USD - money_with_sign_and_code(number)
-
Formats a number into money format, and adds your currency sign and code. Set on the Store > Settings page of the admin.
{{ 1 | money_with_code }} # => $1.00 USD {{ product.price | money_with_code }} # => $9.50 USD
Contact
Can’t find an answer to your question? No worries, we’re here to help.