Developer forum

Forum » CMS - Standard features » Reading Currency code

Reading Currency code

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Guys,

I have a project where I use the CurrencyCode parameter to change the currency for products.

The change works pretty fine. The trouble I have is reading that currency code from the master page. Not just when it is used in the URL but also after the parameter goes away from the URL. It seems to be persistent in the entire ecommerce functionality but I am not able to read it.

Any idea how I can get my hands on it?

Thanks,

Adrian


Replies

 
Nicolai Pedersen
Reply

This one:

http://doc.dynamicweb-cms.com/api/html/60b73038-55e4-5b7a-f20b-b6633544ba8e.htm

Dynamicweb.Ecommerce.Common.Context.Currency.*

A lot of nice context is available from there:

http://doc.dynamicweb-cms.com/api/html/85f6ef25-505e-5167-7621-b7f72045edcb.htm

BR Nicolai

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nicolai,

Thank you for the suggestion.

It did the trick exactly!

Thank you very much.

Adrian

 

You must be logged in to post in the forum