I have created one MVC widget to show product information, in that I have to show price too.
I tried using following properties to display price value:
But when I change the Currencydropdoenlist to some other currency, price value doesn't change it remains as it is.
Whereas the price value which is displayed using Sitefinity product list template changes successfully.
Please let me know how to change the price on currency change using MVC widget.
Through this code price is getting converted successfully.
Can you please tell how to get current selected currency name through code to pass as a parameter to EcommerceExchangeRateConverter e.g "USD" or "EUR".
I am facing the same issue.
How can I get the selected currency of default currency selector in code instead of script?
By using your code I am able to fetch the active currencies but not the currently selected one.
It is working fine now :)
Okay so you can get the current currency from the cookie and I assume you can set the cookie value, but how do you actually change the selected currency in C#?