Open nkuehn opened 7 years ago
As far as I understand this issue, @romannakoval is currently working on a fix for it in our backend. Then we shouldn't have to fix it in sunrise.
Hi @nkuehn and @katmatt !
Yes, I partially fixed it in CTP-269, and yesterday it was merged into the master. After it will be released, the behavior will be next: during cart recalculation (prices and taxes recalc was modified) all items that become invalid for some reason will be "silently" dropped out. During the checkout cart recalculation is called and as it will now will return a valid cart, other error (I guess it will be specified now) - that cart were changed during update - will be returned.
The only situation that may be unhandled in scenario like this, is that if shipping info became invalid - recalculation will still return error. But I'm not sure how it is handled during checkout.
FYI, introducing this fix also for cart merge is in process under CTP-625
PS: are we tracking the matching platform requirement that a user doesn't actually want stuff "silently dropped" but rather wants to know what's going on?
Steps to reproduce:
Steps to do right: already check cart consistency when entering checkout. if platform support is not good enough yet, at least remove the products from the cart or something.