Delete particular Order from database

0
44
views
Advertisement

Hello everyone,

Below code will help to delete particular order using increment_id of that order.

select @order_id:=entity_id from sales_order_entity where increment_id='100000001';
delete from sales_order_entity where entity_id=@order_id or parent_id=@order_id;

I hope this will help u to particular delete order.
Ref: http://www.magentocommerce.com/boards/viewthread/1680/#t29687

Thanks,
Mayank Zalavadia 🙂