Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

Fetch what LineItems Rewards/Promotions affect in Cart

$
0
0

When I'm fetching the calculated discounts/rewards/what say you not, I can't seem to find a way of fetching which items in the cart the afformentioned discounts they are for. And, when I'm trying to use the 

promotionsEngine.Evaluate(entryLink, currentMarket, currentMarket.DefaultCurrency, RequestFulfillmentStatus.All);

I'm always getting a NullReferenceException, but only for entryLinks that is supposed to have a discount associated with it, while the ones without any discount/reward just returns an empty List.

Is there a way of fetching what discounts are for what items in the cart?


Viewing all articles
Browse latest Browse all 9076

Trending Articles