Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi everyone
My currency formatting settings are set to Remove Decimals using:- "£{{amount_no_decimals}} GBP</span>" which works fine for my native store currency GBP.
However when I swap currency, say to USD, using Shopify's multi currency switcher decimal places are now shown. See attached photos.
I want to Remove Decimals for all currencies. Please could a Shopify Dev help resolve this?
Thanks,
Lewis
Solved! Go to the solution
This is an accepted solution.
Hi @greatdane67,
For Multi-Currency you need to add code change step. Please go to the file containing the code to display the price, 'price' can be found in the snippets.
Then change: money => money_without_trailing_zeros , refer
Hope it helps!
This is an accepted solution.
Hi @greatdane67,
For Multi-Currency you need to add code change step. Please go to the file containing the code to display the price, 'price' can be found in the snippets.
Then change: money => money_without_trailing_zeros , refer
Hope it helps!
Worked. Muchas gracias
Hi,
I'm having the same issue but this added code not fixed the problem. Is this still working as a solution?
Thanks.
Worked for me in August 2024! Thank you!
We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024