August 28, 20179 yr 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/
August 28, 20179 yr Have you looked at the thirty bees cleaner module? It is included in thirty bees and can delete all customers and orders.
August 28, 20179 yr Author Yes! That works nicely, but once the store is up and running I might like to delete test orders or fake orders individually.
August 28, 20179 yr 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
December 4, 20178 yr Author 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.
December 4, 20178 yr @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
December 4, 20178 yr Author @wakabayashi Ah, so canceling the order restocks the product. Super! But the module you linked to does not clean the database properly, does it?
December 4, 20178 yr 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.
Create an account or sign in to comment