Forums / Developer / Orders not deleted

Orders not deleted

Author Message

Oliver Frommel

Thursday 26 November 2009 5:33:41 am

Hi there,

I am trying to process some orders in the shop, for instance make use of the data_text_2 field and using custom status values. Everything works fine so far, but in the processs I discovered that orders don't really get deleted. That means they don't show up in the admin view of the shop, neither as active nor archived, but they do in order list of the logged-in user and when I list them in a template. How can I get rid of them?

Best

Oliver

Benjamin Selmer

Wednesday 02 December 2009 4:24:49 am

Pressing the delete button in /shop/orderview/xx actually deletes the entry from the ezorder table in the database.

If the order still shows up in the customer order view it is probably a caching problem.

In a business and accounting sense it is not a good thing to delete orders. I would make a custom status called cancelled for the orders that aren't going to be delivered for some reason.