Checkout does not format currency as expected

evaldas_92
Excursionist
26 0 6

Hi,

We have a shopify client who owns a Shopify Plus store. The theme language is set to English, and shop currency is set to DKK (Danish Krone, kr).

I have setup a fresh development store with Debut theme - no changes have been made to theme or any settings.

If I browse the product catalog, I can see that currency is formatted correctly as "100,00 kr.". This is also based on Currency formatting set in Settings > General > Currency formatting, which is correct and works as intended:

catalog.PNG

However, when I proceed to checkout, currency is instead formatted as "kr100.00", which is wrong for Danish Krone. 

checkout.PNG

I have contacted Shopify partner support, and was told this is intended behavior because currency formatting in checkout can no longer be customized.

As a workaround, I tried creating a custom theme translation by choosing "English" language and "English (Denmark)", resulting in a language/region code "en-DK".

custom-language.png

This had a small impact - "kr" became "kr.", but its position did not move:

currency-checkout-english-danish.PNG

If I write a tiny C# program which formats the decimal amount using "en-DK" code, it formats it correctly:

csharp-en-dk.png

Finally, if I change Theme language to Danish (language code becomes "da-DK"), then currency is formatted as expected, but this is not an option, because website has to be in English:

currency-checkout-language-changed-to-danish.PNG

Am I missing something, or Shopify's currency formatting at Checkout is wrong? Why does language, and not the region, define how currency is formatted?

0 Likes

We found a near identical case yesterday - I've been chatting to Zapiet (as that's where we first noticed it), and they confirm that they also believe this to be a Shopify bug related to multi-currency changes. In our case, if delivery was set to pickup then currency format is correct (£nnn), but for delivery the currency was switched to GBPnnn. Very odd!

Spacio
New Member
2 0 1

Hello,

My 2 stores and many other (if not all) stores in Mexico are having the exact same issue but inverted, in Mexico we use the comma (",") for thousands and point (".") for decimals. Outside the checkout the format is correct, but in the checkout, the format gets inverted.

I have already contacted Shopify and they won't help, they're blaming it on the browsers, however, they rolled out an update in March that most likely caused this bug.

Please let me know if they provide a solution or if you find one.

evaldas_92
Excursionist
26 0 6

Okay, sorry you experienced this as well, but I am glad we are not alone I had contacted Shopify support and I was told they had summited my findings to the Shopify team. I have not heard anything since. 

Jason
Shopify Expert
10272 144 1943

For those posting here, example images of what you see or store links would be useful along with what you expect things should look like.
And if there was existing support ticket interactions, the ticket #.

I jump on these forums to help and share some insights. Not looking to be hired, and not looking for work.

Don't hand out staff invites or give admin password to forum members unless absolutely needed. In most cases the help you need can be handled without that.


★ http://freakdesign.com.au ★
evaldas_92
Excursionist
26 0 6

Hi @Jason ,

I do believe my original post contains information neccessary. Additional comments have been provided to Shopify support on ticket 22891481.

0 Likes
Spacio
New Member
2 0 1

Hello,

Fortunately, Shopify finally decided to help me with the issue. It turned out to be a very simple solution: I just had to change the language of my theme to Latin American Spanish instead of Mexican Spanish. I don't know if it will work for you since my store is in Spanish and you had the issue with a Danish store.

I'm copying the steps Shopify sent:

  • In your Shopify admin click Online store > Actions > Edit languages (next to your live theme)
  • From there please click Actions > Change theme language
  • Under Language select Other languages and more options will appear
  • Under Region select Latin American Spanish (or test other versions of Spanish to see if they are preferred). Please keep in mind that Mexican Spanish will not work
  • Once your chosen language has been selected you can click Save

Maybe you can find a different type of Danish or UK English for the case of @Verdant-Spark under Other languages

Hopefully this will work for you guys.

Cheers.

0 Likes
evaldas_92
Excursionist
26 0 6

I've only had English and Danish (English) options, and neither produced correct format in Checkout.

0 Likes
evosys21
New Member
2 0 1

Same issue here. Anyone found a solution?