AGAIN: How to remove decimals on product prices in ALL Currencies

AGAIN: How to remove decimals on product prices in ALL Currencies

Jan7777
Tourist
15 0 2

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

Jan7777_0-1727767835349.jpeg

 

Jan7777_1-1727767835357.jpeg

 

 

Reply 1 (1)

PaulMartin
Shopify Partner
574 57 136

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 👍

[email protected]
Feel free to email me! 😄
I'm open to conversations or work ʕ •ᴥ•ʔ