<Solved> How to delete test orders?
I have a few test orders and want to delete them but do not see where to do it in the orders section.
30knees last edited by 30knees
There is no possibility, unfortunately, as far as I am aware. This is also something that should be fixed for this: https://forum.thirtybees.com/topic/1135/new-general-data-protection-regulation-2018-05-25
SLiCK_303 last edited by SLiCK_303
You’ll want to do this as an override. Open AdminOrdersController.php and find…
after on a new line add…
now you can delete any order. Be careful though, as there is no “are you sure” message or anything.
@SLiCK_303 I appreciate it but I’m trying to avoid using overrides. I’ll just leave it alone and let it aggravate me until it goes away. (Meaning when there are enough orders to push them down out of my sight). Thanks for the help!
Baarssen last edited by Baarssen
Try this i certainly know you can do it that way
Ofcourse download the 1.6 version
SLiCK_303 last edited by
Yep, i’ve used that one before too
@Baarssen I’ll check it out. Thanks for the note about getting the version for PS 1.6
@SLiCK_303 Always a good idea to show modules first, please, before having to edit code. Code and I are not the best of friends.
That module is from one of my fave developers - Vekia.
I installed it and I entered the two test order numbers I wanted to delete and clicked the trash can but they are still there. I cleared the cache and they are still there. That was Chrome. Then I tried FF and they are still there.
Any ideas (besides overrides. lol)?
Traumflug last edited by
There’s also the “thirty bees cleaner” module. It allows to delete (test) orders together with (test) customers by a mouse click.
bzndk last edited by
but the cleaner removes everything besides test orders to.
@mdekker said in How to delete test orders?:
How to delete test orders?
If you visit the order list, copy the URL of a view or edit button, paste this in your address bar and replace
delete, the order will be deleted instead.
Easy and works perfectly! Thank you, Michael!
30knees last edited by
@alwayspaws But please note that it doesn’t properly delete the orders (and I think also not the stock - did you check whether it replenishes the stock?).
@30knees I looked at the post you referenced before replying here.
I did check my stock but it did not affect it because the tests were just to test part of the functionality of the Amazon login and pay. Those test orders were done by Amazon tech-support. They did not pay for the orders.
I’m happy with this solution but if it was a real order that was seen through to the end, I’d want to remove it myself to check inventory.