Skip to content

Commit

Permalink
Merge pull request #34 from dynamicweb/dbe/22325-Fix-live-prices-disa…
Browse files Browse the repository at this point in the history
…bled-for-PriceMatrix

Fix for live price are disabled
  • Loading branch information
DWDBE authored Dec 18, 2024
2 parents a95a2e7 + 197ef0b commit b15c737
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Version>10.4.13</Version>
<Version>10.4.14</Version>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<Title>Live Integration</Title>
<Description>Live Integration</Description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public PriceInfo FindPriceInfo(PriceContext context, PriceProductSelection selec
IEnumerable<KeyValuePair<PriceQuantityInfo, PriceInfo>> IPriceInfoProvider.FindQuantityPriceInfos(PriceContext context, Product product)
{
var settings = SettingsManager.GetSettingsByShop(context.Shop?.Id);
if (!Global.IsIntegrationActive(settings))
if (settings is null || !Helpers.CanCheckPrice(settings, product, context.Customer))
return null;

var result = new List<KeyValuePair<PriceQuantityInfo, PriceInfo>>();
Expand Down

0 comments on commit b15c737

Please sign in to comment.