Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
The Admin UI does not respect the shop's currency locale #152
PatrykPorabik292d7588993b
diff --git a/src/Business/Grand.Business.Catalog/Services/Prices/PriceFormatter.cs b/src/Business/Grand.Business.Catalog/Services/Prices/PriceFormatter.csindex e2a745722..a0b45c58f 100644--- a/src/Business/Grand.Business.Catalog/Services/Prices/PriceFormatter.cs+++ b/src/Business/Grand.Business.Catalog/Services/Prices/PriceFormatter.cs@@ -58,7 +58,8 @@ namespace Grand.Business.Catalog.Services.Pricesstring result = "";if (!String.IsNullOrEmpty(targetCurrency.CustomFormatting)){- result = amount.ToString(targetCurrency.CustomFormatting);+ var cultureInfo = !String.IsNullOrEmpty(targetCurrency.DisplayLocale) ? new CultureInfo(targetCurrency.DisplayLocale) : null;+ result = amount.ToString(targetCurrency.CustomFormatting, cultureInfo);}else{