spree icon indicating copy to clipboard operation
spree copied to clipboard

Update order after removing a line_item

Open stefnnn opened this issue 3 years ago • 1 comments

When we call the /api/v2/storefront/cart/remove_line_item endpoint, the matching line_item is destroyed but the response still contains it. We use this response to update our cached cart state. I suggest to reload the line_items on the order in the ServiceModule.

stefnnn avatar Feb 12 '22 14:02 stefnnn

Changes preview:

Legend:

👀 Review pull request on Viezly

viezly[bot] avatar Feb 12 '22 14:02 viezly[bot]

This was already fixed in #11700

rafalcymerys avatar Sep 28 '22 21:09 rafalcymerys