Hello,
I am using the following code and getting the "RM" value:
foreach (var item in result.Catalog) { var price = item.VirtualCurrencyPrices["RM"]; //var price = item.RealCurrencyPrices["RM"]; ItemList.Add(new StoreProduct { Id = item.ItemId, Name = item.DisplayName, Price = price.ToString() }); }
Here is the screenshot of my CatalogItem.
The variable Price is giving me value as "299". I would like to get the localized currency as well for the same like USD 1.99, INR 299, GBP 0.99
Also, var price = item.RealCurrencyPrices["RM"]; gives me NULL.
What could be the problem?
Any help would be appreciated.
Thanks in Advance.
K
Hello,
I am using the following code and getting the "RM" value:
foreach (var item in result.Catalog) { var price = item.VirtualCurrencyPrices["RM"]; //var price = item.RealCurrencyPrices["RM"]; ItemList.Add(new StoreProduct { Id = item.ItemId, Name = item.DisplayName, Price = price.ToString() }); }
Here is the screenshot of my CatalogItem.
The variable Price is giving me value as "299". I would like to get the localized currency as well for the same like USD 1.99, INR 299, GBP 0.99
Also, var price = item.RealCurrencyPrices["RM"]; gives me NULL.
What could be the problem?
Any help would be appreciated.
Thanks in Advance.
K