3ART Technologies
2020-06-06T07:36:57Z
Hi,
By the below code i got every information regarding to the product but the currency type is always returning $ i already set it in SAR can you please inform me why it's returning $ always.

var HccApp = HccAppHelper.InitHccApp();
Product productItem = HccApp.CatalogServices.Products.Find(bvin);
SingleProductViewModel singleProductView = new SingleProductViewModel(productItem, HccApp);
return singleProductView;

Will Strohl
2020-06-09T18:27:29Z
The view model you're returning includes a method that should address this. There's an example in all of the viewsets included. Here's a direct link to one of the views in the default viewset.

https://github.com/Hotca...rSingleProduct.cshtml#L3 
Will Strohl, Upendo Ventures
Hotcakes Cloud  | Get Support  | Code Support 
Official Cloud & Support provider for Hotcakes
3ART Technologies
2020-06-09T19:43:19Z
i am not using in the view control in am using this in code behind
Will Strohl
2020-06-10T00:21:07Z
The code sample appears to be the same though. You're referencing the same view model.
Will Strohl, Upendo Ventures
Hotcakes Cloud  | Get Support  | Code Support 
Official Cloud & Support provider for Hotcakes
Loading
  • Sign-up for the Hotcakes Community Newsletter: