Shopify themes, liquid, logos, and UX
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
Solved! Go to the solution
This is an accepted solution.
Hello Agnes,
Change the ${{amount}} to ${{amount_no_decimals}}
Thanks
This is an accepted solution.
Hello Agnes,
Change the ${{amount}} to ${{amount_no_decimals}}
Thanks
Hello Guleria,
Not sure what happened, I tried this solution earlier and did not work but now it works well! Thank you very much.
Best,
Agnes
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024