Developer forum

Forum » Ecommerce - Standard features » Currency - globally switching between currencies

Currency - globally switching between currencies

Hans Ravnsfjall
Hans Ravnsfjall
Reply

Hi

Is it possible to have multiple currencies on the same website/language layer, and globally switching between them by eg. selecting a currency in the bottom of the page? So that if i Choose DKK, all prices are in DKK, and if i chose EUR, all prices are ein Euros etc. no matter how/where i navigate on the page?

If so, will the editor have to enter the prices in all currencies, or will it be translated automatically based on some realtime currence calculation service?

/Hans

 


Replies

 
Nicolai Pedersen
Reply

Hi Hans

You can change language, currency and default delivery country from querystrings - see this:

https://doc.dynamicweb.com/documentation-9/ecommerce/internationalization/languages-countries-currencies#3187

BR Nicolai

 
Hans Ravnsfjall
Hans Ravnsfjall
Reply

Ok, and that means if I change the Currency VIA the Querystring, the selected currency will be the actual currency for the remainder of the active session? Is that correct?

 

Also, are there any services available for converting prices based on the actual currency rate? Or do we have to type in the conversionrate manually?

Is it also posible to differentiate/set prices manually, so we can get "round and neat" prices in all currencies?

/Hans

 
Nicolai Pedersen
Reply

Hi Hans

Yes, it sticks around for the duration of the session.

We have no currency rate service - so manually update.

You can use Dynamicweb roundings on the currencies to get "nice prices". I.e. always "€ XX.95" and "DKK XX.75". See Dynamicweb roundings on the doc site.

Also you can give products a specific price for a specific currency. So it is DKK 95 which would be 12,67 in Euro. But then using the price matrix you can set it to i.e. €15.

BR Nicolai

 
Thomas Jensen
Reply

Hi Nicolai

I have a English site, where i need to have option for DKK EUR and Pound
as default it sould take the contry and currency from user (browser/ip/contry)

But when i enter it do not set the right CountryCode

Currency is DKK, but the contry is not DK, and it then do not show the right price (thats how i know that contry is on DK)
if i ?CountryCode=DK then i get the right price

How can i test for what the CountryCode and CurrencyCode is, so i can fix it whit a querystring if i need

 

Regards Thomas

 
Nicolai Pedersen
Reply

Hi Thomas

In Razor you can see the values on Ecommerce.Common.Context class:

https://doc.dynamicweb.com/api/html/d7356fe9-c92d-86b1-f816-88497c702867.htm

BR Nicolai

 

You must be logged in to post in the forum