Hide decimals of prices in Supply theme

Solved
Highlighted
New Member
2 0 0

Hi,

I tried many things but cannot remove the prices' two decimals places in Supply theme. The ${{amount}} variable is set in currency format settings but my prices still show .00 at the end.

Considering this local currency I work with, decimal places are irrelevant and would look strange to customers. I contacted Shopify team and they recommended to buy and install a currency app as a workaround but I do not want to display currency switcher toggle and these apps come with so many features and extra code I don't need. I will have only one currency but it is without decimal places.

Any idea as to how to solve this issue with Supply theme?

Best,
Agnes

0 Likes
Highlighted
Shopify Partner
1012 209 253

This is an accepted solution.

Hello Agnes,

Change the ${{amount}}  to ${{amount_no_decimals}} 

 

Thanks

Want to modify or custom changes on store hire me.
My Email: guleriathakur43@gmail.com
Skype: navrocks1
If helpful then please Like and Accept Solution.
If you are happy and want to donate small Click here (Its my paypal)
1 Like
Highlighted
New Member
2 0 0

Hello Guleria

Best,

Agnes

0 Likes