Shopify themes, liquid, logos, and UX
Hi,
How can I remove the decimals on the product price? It worked only on the main currency (CHF) but not on the other currencies for the other markets like Euro or US Dollar.
The Solution is not: "check currency formatting options in setting", it is about the other currencies that is not the main currency.
Happy if you can help me 🙂
Thank you, Jan
Hi Jan,
Since this isn't caused by your currency settings inside Shopify Settings as you've ruled out, it is very possible that this is caused by your theme. And to fix it is to change the theme's code.
In the theme's code, there are options for how to display money. Those options are:
a. money
b. money_with_currency
c. money_without_currency
d. money_without_trailing_zeros
Currently, it looks like your theme is using option B - money_with_currency - and to fix it is to change your theme's code from using option B into using option D.
Hope this helps and if you have any questions, feel free to ask 👍
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024