Developer forum

Forum » Ecommerce - Standard features » Changing currency symbol

Changing currency symbol

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi there,

When I create a new currency, the section Settings is readonly. For French (Switzerland) it shows CHF as the currency code (which is correct) but lists fr. as the Currency symbol. The custom wants to display CHF instead of fr. Since I can't change this in the UI, can I just change this directly in EcomCurrencies in the database? Would that cause any side affects?

Imar


Replies

 
Nicolai Pedersen
Reply

Hi Imar

I get the right code when I choose that one (see dump #1) - it can be regional settings on the server or 'buggy' .NET framework version.

That said, when you choose something in regional settings, that is what we use. You do not have to choose one - you can just leave it blank and fill out the fields yourself. Or first choose French (Swiss) and then select nothing in regional info and then edit the fields. Dump #2.

BR Nicolai

Capture.PNG Capture1.PNG
 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

>> it can be regional settings on the server or 'buggy' .NET framework version.

Yeah, that seems to be it. It selects the correct currency on my local machine. Interesting.

In this case, we already have the currency set up and associated some things with it so I am a bit reluctant to delete it and recreate it. Can I update the database for the existing currency in EcomCurrencies or will it still look at the regional settings? Juding from your answer above, it looks like it takes whatever you enter and the regional settings just define the initial default, right?

Imar

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Imar

If you define the regional settings, we use the values from the cultureinfo instance and disregards the settings. So they are just for display in the UI - hence why you cannot change the values.

But in this case, just remove the regional settings on the currency and save it, go back in and either change the values or try adding the regional settings again.

BR Nicolai

Votes for this answer: 1

 

You must be logged in to post in the forum