All Release Notes

Total prices for giftLineItems in cart predicates

29 October 2020
Composable Commerce
HTTP API
Enhancement
Pricing and Discounts

Cart Predicate Functions like lineItemTotal, lineItemNetTotal and lineItemGrossTotal now take the discounted price of a giftLineItem into account. This solves the issue of a giltLineItem remaining in a Cart after a cart update even if the predicate does not apply anymore.