Skip to content

Commit

Permalink
Ability to assign catalog price per currency #959 - fix for customer …
Browse files Browse the repository at this point in the history
…enter price
  • Loading branch information
KrzysztofPajak committed Nov 5, 2020
1 parent 2b01919 commit e678b4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Grand.Services/Catalog/PriceCalculationService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ async Task<ProductPriceForCaching> PrepareModel()
decimal? finalPrice = null;

if (customerEnteredPrice.HasValue)
finalPrice = customerEnteredPrice.Value;
finalPrice = await _currencyService.ConvertFromPrimaryStoreCurrency(customerEnteredPrice.Value, currency);

if (!finalPrice.HasValue)
{
Expand Down

0 comments on commit e678b4e

Please sign in to comment.