Solved

Hide decimals of prices in Supply theme

Gigi42
Visitor
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

Accepted Solution (1)

Developer-G
Shopify Partner
3039 593 846

This is an accepted solution.

Hello Agnes,

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

 

Thanks

- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on store Hire me.
- Email: guleriathakur43@gmail.com - Skype: navrocks1 ,
- Try GEMPAGES a great page builder
-Advance Search Filter

View solution in original post

Replies 2 (2)

Developer-G
Shopify Partner
3039 593 846

This is an accepted solution.

Hello Agnes,

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

 

Thanks

- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on store Hire me.
- Email: guleriathakur43@gmail.com - Skype: navrocks1 ,
- Try GEMPAGES a great page builder
-Advance Search Filter
Gigi42
Visitor
2 0 0

Hello Guleria

Best,

Agnes