hotwax / fulfillment

HotWax Commerce Fulfillment app
Apache License 2.0
8 stars 37 forks source link

Rejecting Single Line Item of Product Does Not Reject All Instances of Same Product in Order #858

Open Adameddy26 opened 1 week ago

Adameddy26 commented 1 week ago

Current behavior

Only the specific line item rejected is removed or marked as 'Not in Stock', and the other instances of the same product remain unaffected in the order.

Expected behavior

When one line item of a product is rejected with the 'Not in Stock' option, all line items of the same product in the order should also be rejected automatically.

Steps to reproduce the issue

Go to In progress page after facility selection and locate an order with multiple line items of the same product (e.g., Product X). Reject one line item of Product X using the 'Not in Stock' option. Observe that only the rejected line item is marked as rejected, while the others of the same product remain in the order.

Environment details

App version : v2.11.1 App environment : UAT

Additional information

https://jam.dev/c/b4f31060-e9be-4e32-91b5-9b1a8813cc8d