How to Delete Orders in Magento 2?

Magento 2 is a platform that allows you to manage multiple products and process multiple orders. However, unlike with products, no option allows you to delete orders in Magento 2. So in this guide, you'll learn how to delete orders in Magento 2 with no technical skills or code editing involved. You just need the Better Magento 2 Admin Order Grid Extension.

When You Need to Delete Orders in Magento?

These are just a few cases when the Magento 2 delete order option might come in handy.

  • To ensure the ordering process is flawless you run a lot of tests. Thus, you create a lot of test orders you don't actually need.
  • If there are a lot of cancelled or closed orders you might want to remove them from the grid to keep it organised.

How to Delete Orders in Magento 2?

To delete orders in Magento 2 you need to have some technical background. However, with the Better Admin Order Grid extension you can easily do it from the admin panel. 

Watch this short video to see it in action or follow the steps described below.

Delete orders via mass actions

1. Navigate to Sales > Orders and select an order you want to delete.

2. Unfold the Actions dropdown menu and press the Delete button.

Delete Order in Magento 2

3. Confirm you want to delete the selected order.

Delete Order from Grid in Magento 2

Once you confirm you want to delete the order, it will disappear from the grid.

Can you delete all orders in Magento 2?

Easily! Simply take the same steps mentioned above and select all orders you want to delete.

Magento 2 Delete All Orders

Delete orders from the order details page

Each order details page is also equipped with the Delete button. So you can remove orders from there too.

  1. Go to Sales > Orders and select the order you want to delete.
  2. Press the Delete Order button.

Magento 2 Delete Order

Although the extension allows you to delete orders with any status, you don't always have to delete them. If some order details are off or the order status has "stuck" you can always change order status and edit order without cancelling it.