Our users need the ability to delete their own orders. Attached patch. Thank you!

CommentFileSizeAuthor
delete-own-orders-DC.patch1.13 KBmarthinal
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

marthinal created an issue. See original summary.

bojanz’s picture

Title: Permission to delete own orders » Allow users to cancel their own orders
Category: Task » Feature request
Status: Needs review » Active

Once 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.

marthinal’s picture

Hi @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!!!! :)