30knees Posted August 28, 2017 Posted August 28, 2017 It's odd that orders can't be deleted nicely from the backend, so they're purged from the database. The method suggested here doesn't clean up the database properly: http://www.seowebmaster.ch/en/how-to-delete-orders-on-prestashop/ ``` We enter the Orders menu and then we can access the order that we want to be deleted In the address bar we have the URL that will be similar to this: http://www.shop.com/admin/index.php?controller=AdminOrders&id_order=1000&vieworder&token=1a2a1a2a1a21a2ab1289765412 We locate the label vieworder, we replace it with deleteorder and we press Return. We’re done! http://www.shop.com/admin/index.php?controller=AdminOrders&id_order=1000&deleteorder&token=1a2a1a2a1a21a2ab1289765412 ``` Vote for the suggestion here: https://thirtybees.com/suggestions/delete-orders-cleanly-from-the-backend-and-the-database/
lesley Posted August 28, 2017 Posted August 28, 2017 Have you looked at the thirty bees cleaner module? It is included in thirty bees and can delete all customers and orders.
30knees Posted August 28, 2017 Author Posted August 28, 2017 Yes! That works nicely, but once the store is up and running I might like to delete test orders or fake orders individually.
vzex Posted August 28, 2017 Posted August 28, 2017 There are modules to delete orders for PS, but I believe this free version leaves things behind. At least that is what I read, don't know for certain since I didn't know where to check. I had it installed on an earlier TB and it worked fine. https://mypresta.eu/modules/administration-tools/delete-orders-free.html
30knees Posted December 4, 2017 Author Posted December 4, 2017 I am revisiting this question. I got some spam orders from people who apparently just wanted to test the order process and entered nonsense names and addresses. What is the best way to delete such orders AND restock the products? This is such a basic functionality. I do not understand how it is not in the system.
wakabayashi Posted December 4, 2017 Posted December 4, 2017 @30knees we have same problems. I also can't understand, why it is not added. You can cancel the order and afterwards delete it, with a free module: https://mypresta.eu/modules/administration-tools/delete-orders-free.html
30knees Posted December 4, 2017 Author Posted December 4, 2017 @wakabayashi Ah, so canceling the order restocks the product. Super! But the module you linked to does not clean the database properly, does it?
lesley Posted December 4, 2017 Posted December 4, 2017 I think this is going to be addressed in 1.0.5, we are going to add a round of non breaking features to it. This is going to be one of them from our talk last week on EU issues.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now