-
-
Notifications
You must be signed in to change notification settings - Fork 725
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BOM: Deleting last item (trash-bin icon and selecting/deleting) leads to an empty order #8131
Comments
@filipefurtad0 thanks for opening the issue 🙏 My 2 cents:
|
Agree on @RachL comments. That´s why by
I meant let´s change the logic on the order page likewise to Proposal 1) clicking the trash icon on last item of an order -> change the order status to cancelled (and shipment status to none), changing the a modal text from what has been implemented by #8040 to "deleting this item will cancel the order as it is the last line item, do you wish to proceed: yes/no".
Yes. Usability wise I think proposal 2 still makes people doing the step via the individual orders pages. Edit: Just noticed, when multi-selecting orders and deleting via the global action button -> this also leaves empty complete orders |
Thanks for feedback! Updated the issue accordingly. |
This is issue #7637 |
Hello, can I get assigned to this? I'm working on a fix for this and #7637 |
Canada is having some issues with the fact that cancelling orders sends an email to the customers. They are about to create an issue for this. We need to be careful in which order we will merge the PR. |
@RachL I saw the piece of code that does that, it probably won't cause any conflcts with my PR :) I could also pick that up depending on how it goes |
Description
Related to #7627
Related to #7637
Follow-up from #8040
Please note that this bug can be addressed together with #7637 or separately.
There were two missing scenarios which led to empty orders as well; while on the BOM it is possible to delete the last item of an order by:
Expected Behavior
Updated
Clicking the trash icon or selecting on last item of an order and using the "Delete Selected" button:
cancelled
and shipment status tonone
Actual Behaviour
While on the BOM it is possible to delete the last item of an order by clicking the trash-bin icon and by selecting one or more items and deleting via the global action button "Delete Selected"
Steps to Reproduce
As admin:
/admin/orders/bulk_management
Animated Gif/Screenshot
Workaround
Severity
bug-s3: a feature is broken but there is a workaround
Your Environment
Possible Fix
See Expected Behavior section.
The text was updated successfully, but these errors were encountered: