Skip to content

Commit

Permalink
fix: pass Cart currency to Tax evaluation context
Browse files Browse the repository at this point in the history
  • Loading branch information
ksavosteev committed Sep 11, 2024
1 parent 1dbbb57 commit 1c2277a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/VirtoCommerce.XCart.Data/Mapping/CartMappingProfile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ public CartMappingProfile()
taxEvalcontext.Code = cartAggr.Cart.Name;
taxEvalcontext.Type = "Cart";
taxEvalcontext.CustomerId = cartAggr.Cart.CustomerId;
taxEvalcontext.Currency = cartAggr.Cart.Currency;

foreach (var lineItem in cartAggr.SelectedLineItems)
{
Expand Down

0 comments on commit 1c2277a

Please sign in to comment.