Call-back icon  Questions? Contact our sales team to a request a quote

Magento

eCommerce Software for Online Growth

Magento Forum

   
How to delete orders complete? 
 
NewBedfordInternet
Jr. Member
 
Total Posts:  1
Joined:  2008-09-14
 

1) Deleting orders should absolutely be an option available to us.

2) Also - for those using the “Saved Credit Card” method - there ought to be a way to delete the credit card number after the merchant has processed it offline. It is inherently insecure to leave a credit card number sitting there in the database for all eternity!

 
Magento Community Magento Community
Magento Community
Magento Community
 
John R
Sr. Member
 
Total Posts:  88
Joined:  2008-08-21
 

Super bump

Even if it isn’t necessarily best practice to delete orders, Magento doesn’t need to police that! Let people do what they want.

Secondly, personally I would only use this for deleting / resetting test info, which is super important in any start-up environment.

 
Magento Community Magento Community
Magento Community
Magento Community
 
imagize
Jr. Member
 
Total Posts:  10
Joined:  2007-08-31
 

Need to a way to reset “Products in carts” report since the number of total items does not decrease so you can have 8 pages of no items.

 
Magento Community Magento Community
Magento Community
Magento Community
 
mayerwin
Sr. Member
 
Avatar
Total Posts:  160
Joined:  2008-01-15
France
 

I can’t believe that this topic is so long an Magento team has disappeared. Apart from a quick post from Michael that had not much to do with our issue.

I also need to delete my test and paypal pending orders! It should not be complicated, but we indeed need Magento advice on how to develop an extension for that, if they don’t want to implement it by default.
Again, a community without inputs from the core developer team is not efficient.

Can anyone who is a pro member submit this to their forum?

Keep us posted.

 Signature 

I have finally found the best web hosting ever for Magento! 1 second max pageload with my website, for less than 10€ a month… And a very good support. I strongly advise you to try them : Rackspeed.de, there is even a 7 days free trial.
Erwin Mayer Foundation

 
Magento Community Magento Community
Magento Community
Magento Community
 
ZXIdo
Jr. Member
 
Total Posts:  15
Joined:  2008-03-05
 

Wow, this is really important to many users. Hmm, and i dont see it included on 1.1.7 Roadmap…

 
Magento Community Magento Community
Magento Community
Magento Community
 
Mandelina
Jr. Member
 
Total Posts:  19
Joined:  2008-09-26
 

I agree! We need a quick resolution!

 
Magento Community Magento Community
Magento Community
Magento Community
 
John R
Sr. Member
 
Total Posts:  88
Joined:  2008-08-21
 

Bumpy

 
Magento Community Magento Community
Magento Community
Magento Community
 
edslp
Jr. Member
 
Total Posts:  9
Joined:  2008-08-17
 

Same here… Really need to reset to a clean install order & customer wise. Only want to keep configs, categories & products.
Which tables should I truncate?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Glitchy
Jr. Member
 
Total Posts:  17
Joined:  2008-02-06
 

VARIEN:  Please post the SQL code to use to delete orders (and other test-data) in Magento 1.1.6

Cheers.

 
Magento Community Magento Community
Magento Community
Magento Community
 
blizzard182
Member
 
Avatar
Total Posts:  44
Joined:  2008-09-06
Argentina
 

If I may add something to this thread. I am against the delete option of the orders. I mean, at least not ONLY the option to delete. Keeping your orders it’s a security for every owner. And I am not sure if you are required to store them. I saw in another forum, for example, that some guy was forced to store the past 7 years of logs. (Not with Magento. Another appliance)

What I think we need is two things:

1) Test mode: Where you could input an order in test mode (Only available to admins)
2) Archive Mode: Where selected (Or from a criteria) orders and everything related to that order, it’s moved to another database. One that will be only for history and will not affect the performance or use of Magento. You could access or move those databases offline for back up.

Then a couple of options in the admin panel:

- Delete/Archive Test orders.
- Delete Orders
- Archive Orders.

What do you think?

 Signature 

Disce Quasi Semper Victurus, Vive Quasi Cras Moritorus.

 
Magento Community Magento Community
Magento Community
Magento Community
 
justah
Jr. Member
 
Total Posts:  3
Joined:  2008-09-17
 

whats going on varien? who’s not responding? very interesting topic something i have also found to be problematic. Clients will always want to test that the site is working.

 
Magento Community Magento Community
Magento Community
Magento Community
 
turbo1
Sr. Member
 
Avatar
Total Posts:  200
Joined:  2008-08-19
Los Angeles, CA
 

We also really need the ability to delete orders.

 Signature 

My contributions: Google Base Data Feed script, Shopping.com Data Feed script,
SQLSTATE[23000] updated fix

I’m not here to sell you anything. My help and contributions are always free.

 
Magento Community Magento Community
Magento Community
Magento Community
 
obione
Member
 
Avatar
Total Posts:  46
Joined:  2008-06-11
France
 

little up.

May an answer could clarify the position of Varien

 Signature 

My Magento store - Lilinappy.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
alex.bsc
Sr. Member
 
Total Posts:  208
Joined:  2008-06-06
 

i need a solution, bumping this one so it stays visible..

 
Magento Community Magento Community
Magento Community
Magento Community
 
Ross
Sr. Member
 
Avatar
Total Posts:  230
Joined:  2007-08-31
Scarborough, North Yorkshire, UK
 

To be honest, I think there are more important things for Varien to be worrying about.

- in a running store, orders should not be deleted (canceled maybe, but not deleted)
- I can imagine it would be nice to delete test orders, but such testing would normally be done before the site goes live.

So here is my suggestion.
- do a backup of the database
- place test order(s)
- restore database
- guess what - not test orders left in the system!

Also, (since you forgot to backup your database before placing test orders) if you look back to earlier posts in this thread you will find SQL commands to delete out all orders from the database.  (but don’t forget to backup first!)

Hope that helps someone

 Signature 

Ross Kendall - Web Developer - rosskendall.com
Client Magento websites:
- Out of the Ark Music (UK): a leading publisher of children’s musicals
- Dottie Lottie: children’s clothing boutique

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
60012 users|852 users currently online|118870 forum posts