What is the use of Money filters in shopify ?

meny filters shopify

When in currency formatting settings of Shopify admin is set to {{ amount }} as described in this post how to change money formatting in shopify.

Then we can use these money filters to show the amounts with and without trailing zero. like here

if “HTML with currency” is ${{ amount }} CAD

{{ 14300 | money_without_trailing_zeros }}

the output of this will be $143

{{ 143 | money_without_trailing_zeros }}

the output of this will be $1.43

You can customize this in your theme files.

If this help you then.. Can you buy a Cup of Coffee for me by nst webcreation paypal--OR-- nst webcreation blog coffee cup

Published by

NST

Myself Narender Singh Thakur ( NST ) and i share my Experience/Knowledge and Tricks for folks and beginners to solve their issues while making websites through this Planet.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Click to Chat