Skip to content

Commit

Permalink
Merge branch 'release/3.821.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
vc-ci committed Apr 12, 2024
2 parents 4b8e8b2 + ca79991 commit 2822e38
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project>
<!-- These properties will be shared for all projects -->
<PropertyGroup>
<VersionPrefix>3.820.0</VersionPrefix>
<VersionPrefix>3.821.0</VersionPrefix>
<VersionSuffix>
</VersionSuffix>
<VersionSuffix Condition=" '$(VersionSuffix)' != '' AND '$(BuildNumber)' != '' ">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
Expand Down
2 changes: 1 addition & 1 deletion src/VirtoCommerce.ExperienceApiModule.Web/module.manifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<module>
<id>VirtoCommerce.ExperienceApi</id>
<version>3.820.0</version>
<version>3.821.0</version>
<version-tag />
<platformVersion>3.813.0</platformVersion>
<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public static void ApplyRewards(this CartAggregate aggregate, ICollection<Promot
payment.ApplyRewards(shoppingCart.Currency, paymentRewards);
}

var subTotalExcludeDiscount = shoppingCart.Items.Sum(li => (li.ListPrice - li.DiscountAmount) * li.Quantity);
var subTotalExcludeDiscount = shoppingCart.Items.Where(li => li.SelectedForCheckout).Sum(li => (li.ListPrice - li.DiscountAmount) * li.Quantity);

var cartRewards = rewards.OfType<CartSubtotalReward>();
foreach (var reward in cartRewards.Where(reward => reward.IsValid))
Expand Down

0 comments on commit 2822e38

Please sign in to comment.