All Release Notes

Total prices for giftLineItems in cart predicates

29 October 2020
Enhancement
Pricing

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.

Copyright © 2021 commercetools