Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Our users need the ability to delete their own orders. Attached patch. Thank you!
Comment | File | Size | Author |
---|---|---|---|
delete-own-orders-DC.patch | 1.13 KB | marthinal | |
Comments
Comment #2
bojanz CreditAttribution: bojanz at Centarro commentedOnce an order has been placed, it has been assigned an order number, which usually needs to be continuous, and it has been invoiced. Just deleting it from the system will make most accountants very angry at you. That's why eCommerce systems usually allow the user to cancel their order, not delete it. That's the approach we need to implement here.
Comment #3
marthinal CreditAttribution: marthinal at Bluespark commentedHi @bojanz!
Well sorry but I didn't explain the use case :) In our case a user will have multiple carts(WIP) per catalog. They can edit the cart and remove the cart. And of course they cannot remove an order that has been completed. If we want to contribute a feature here makes sense to simply allow users to cancel their own orders.
Thanks!!!! :)