Delete Order for Magento 2

Extend the default Magento 2 order management functionality with the ability to delete orders. Erase unnecessary documentation and related information. Set automatic order grid clearance periods to keep it up-to-date.
  • Completely remove orders and related information
  • Configure automatic order archiving
  • Access archived documentation on a separate grid
  • Hide archived docs on the frontend
  • Manage recordings using API
  • Hyva-compatible by default
Add to Wish List
Product updates and support for 12 months

Updates and support prolongation - $99

more info

Magento 2 Delete Order extension is a tool to structure the database by removing unnecessary orders. In default functionality, there’s no way to hide or delete orders from Magento 2 database. It leads to the overload and makes order management complicated. Use the module to delete orders to clean the grid and archive them to restore later.

Enhance Order Processing in Your Store

With the Magento 2 Delete Orders extension, you can increase your productivity and speed up documentation processing in the store. Get rid of unwanted orders in two different ways depending on your management policy.

Delete orders

Delete all Magento orders and related data from the grid. The action can not be reversed. That's why the store admin should double-check every recording before performing this action.

Archive orders

Transfer selected docs to the separate order grid to clean up the main one from the unwanted info. You will have the ability to restore the archived orders later. On top of that, this feature can be automated to save your time.

Delete Magento 2 Orders from Database with Backup in Mind

Removing documentation from the admin panel is sometimes not the best practice because you may need certain information later. With the Magento 2 Delete Orders extension, you can hide the unnecessary info and restore it later. On top of that, you can set up automatic order archiving to save time and avoid routine actions.

Define the number of days for archivation

Specify the period of time in days after which the order should be placed into the archive. Depending on your needs, you can automatically move items and related data to the order archive grid after 30, 90, or any other specific number of days.

Separate order archive grid

All saved purchases are placed in a separate grid where they can be stored and will not interfere with active or recent recordings. From this grid, you can recover particular ones and their related information.

Mass order actions

Move multiple orders to archive, restore them back, or permanently remove many Magento 2 orders at the same time. The extension enables you to apply mass actions to multiple data in a few clicks. All related info will also be affected.


Automatic archiving

Magento Delete Orders extension enables you to automate some docs-saving routine actions. Generally, you can archive orders individually after a certain number of days, by their statuses, or using the established frequency.

Establish archivation frequency

Choose among five predefined types of archive frequency. Archive docs hourly, two-times per day, daily, weekly, or monthly. The extension allows you to set up the most suitable frequency for saving procedures or manually configure cron job actions for any specific archive time.

Connect archivation to status

Delete Orders for Magento 2 module allows you to manage recording according to particular statuses. Define the statuses that should trigger the movement and enjoy automatic archiving for completed, closed or any other required order status.

Extra Functionality for Store Admins

Interact with customers' accounts

Removing or archiving orders is only half of the case. The extension lets you hide previous purchases from accounts of your customers to provide them with relevant information about their recent orders.

Utilize API for order management

You can modify the delete order status using API. Remove, archive, and restore orders without visiting the admin panel of your store.

According to the statistics, the extension can cover each business need in synergy with the following solution: magento 2 cancel order.

How to delete Magento 2 orders without SQL commands?

To effortlessly delete Magento 2 orders without SQL, do the following:

  • Install and enable the Magento 2 Delete Order extension;
  • Navigate to Sales → Orders;
  • Look through the list of orders and select everything you want to delete;
  • Then, open the Actions dropdown and choose the Delete Permanently option;
  • Note that this action can’t be restored.

How to implement Magento 2 Delete Orders Functionality to your store?

  • Install the Delete Order exnetsion.
  • Go to Stores > Configuration > Order Archive.
  • Complete General Settings.
  • And if you want to delete orders permanently then go to Sales > Orders and choose the orders you want to delete on the grid and apply the action.

Maximize Your Magento 2 Store's Potential with Amasty's Unbeatable Extensions!

  • Elevate Shopping Experience with Magento 2 Layered Navigation: Empower your customers with seamless product discovery using Amasty's Improved Layered Navigation extension for Magento 2. With easy-to-use filters and enhanced SEO rankings, your store will stand out, attracting more engaged shoppers.
  • Drive Sales with Magento 2 Special Promotions: Unlock the power of Amasty's Special Promotions extension for Magento 2 to boost customer engagement and skyrocket sales. Create alluring deals with fixed discounts, percent off, and free items, captivating your audience and driving them to make purchases.
  • Simplify Checkout Process with Magento 2 One Step Checkout: Reduce cart abandonment and enhance customer satisfaction with Amasty's One Step Checkout extension for Magento 2. Offer a smooth and fast checkout experience, supporting multiple payment and shipping options for seamless transactions


Navigate to Sales > Orders and select the order you want to delete. Unfold the Actions dropdown menu and press Delete button. Confirm you want to delete the selected order and press OK.

magento 2 remove orders

When Magento 2 Delete Orders extension is installed, you can export all archived orders from the Archive Orders grid to CSV or XML file. For this:

  • Go to Sales → Order Archives → Orders → Archive Orders grid;
  • Expand Export dropdown and choose the file format (CSV or XML) you want to export archived orders;
  • Click on the Export button.

After installing the Magento 2 Delete All Orders extension, you will be able to quickly remove any number of orders from the Orders grid. To do this, use the 'Select all' feature to choose all orders in one click, and then select the 'Delete Permanently' option from the mass action dropdown. Please exercise caution as this action is not reversible.

Adobe partner logo
Magento Marketplace logo
See 450+ verified reviews
1 Single points of sales
Trusted by Customers
Are Amasty extensions compatible with all themes and extensions by other vendors?
Amasty extensions work with all plugins we issued and with most 3rd-party plugins. If you come across a Magento 2 compatibility issue with any third-party module, we’ll definitely try to help you. If you face any technical issues, please create a ticket...
Will I get free support and updates?
Product updates for extensions purchased before Feb 1, 2022With the transition to product subscriptions, you will receive product updates for all extensions purchased before Feb 1, 2022 throughout the entire grace period — up to Aug 1, 2022. If you ...
Do you have the installation service?
Yes, you can use installation and configuration services that are available as the part of Pro and Premium add-ons for your product subscriptions.Please note that this installation service doesn’t include uninstallation. So, if you need to completely...
Can I request a free trial?
Amasty doesn’t provide any trials of Magento extensions. There's one exception: Amasty extensions are provided for testing or demo purposes to our official Platinum Partners as a part of the “access to Amasty extensions for testing purposes with Composer...
Can I test an Amasty extension on a staging site before transferring it to a live one?
Yes, you can install any Amasty extension on a test site and configure all the settings there before doing it on your live store.
How can I get a refund?
Amasty offers to its Customers a thirty (30) day money-back guarantee for the Software. In case the acquired extension didn’t meet your expectations, our support team is always ready to help you. Fees for support subscriptions and any services provided...
How can I receive a discount?
We are now working at a loyalty program for our customers that is supposed to bring even greater benefits in the long term. While it’s not out yet, you can look through these Special Offers. New discounts and specials are added every month. To stay ...
How to update a Magento 2 Amasty extension?
To update a Magento 2 extension by manual upload:1. log in to the customer account;2. navigate to the Products tab, scroll to the packages section, and click the Download link next to the extension that should be updated;3. Important: If some extension...
If I need additional features to be added to an Amasty extension, how can I ask for it?
To leave your feature request, log in to your customer account and open the Products tab. Then, scroll down to the bottom of the page, and leave your feature request in the following form: As soon as you send your request, it is considered by our ...
Magento 2 Amasty extensions installation
Each Amasty extension package is provided with the extension files, installation & setup guides, and a license agreement. Some extensions include import files examples as well. So how to install our Magento extension? What is the plugin...
How can I prolong support?
If you have an active support service subscription, it grants you access to support services for all products purchased before Feb,1 as long as your subscription is active. Alternatively, support services are only available as the part of a product ...
Can I change the EE extension to CE for free?
Usually, no, you can’t exchange modules. Please, contact our support managers and they’ll consider your case individually. → Learn more about our special offers
How can I get a discount to re-purchase plugins?
Usually, we don’t provide any discounts. But you can contact us, and we’ll consider your case individually. → Learn more about our special offers
Customer Reviews

Do you need specific features added so you can achieve your business goals?

Drop us a line and we'll customize this extension for you!

You can always download the recent version free of charge from your account installing an upgrade is easy

See Magento (and other software) versions we support and guarantee their compatibility with our extensions

Version 1.1.17
Last Update: Oct 27, 2022
1.1.17 - Oct 27, 2022
  • Improvement we added ‘Never’ option to Archive Frequency to disable automatic order archiving
  • Fix we fixed the issue with shipments, invoices, and credit memos remaining in the module tables after deletion
  • Fix we resolved the issue with the Back button on the archive order grid
  • Fix we removed the archive-related mass actions for users with restricted resources
1.1.16 - Aug 24, 2022
  • Compatibility we improved compatibility with Amasty Advanced Permissions extension
  • Fix we resolved the issue with sending notifications after archiving is complete
1.1.15 - Aug 08, 2022
  • Compatibility now the extension is compatible with Magento 2.4.5
  • Improvement we added Archived Orders tab, so you can access archived orders when viewing customer info in the backend
  • Fix we fixed the SQL error that occurred during archiving
1.1.14 - Jun 30, 2022
  • Compatibility now the extension is compatible with PHP up to 8.1
1.1.13 - Jan 03, 2022
  • Fix we fixed the issue with date filtering
1.1.12 - Dec 09, 2020
  • Fix we fixed the issue with invoices, shipments and credit memos that were not archived with orders
1.1.11 - Nov 16, 2020
  • Fix we added the notification to resolve the issue when no order can be archived due to the fact that it does not meet the conditions
1.1.10 - Apr 22, 2020
  • Fix we fixed the issue with adding of orders to Orders grid from Archive Orders grid after changing of orders information
1.1.9 - Mar 03, 2020
  • Improvement we added batch archiving for avoid errors, where admin archive a lot of orders
  • Fix we fixed issue with validation order tables
  • Fix we fixed issue with timeout when opening the order page from the admin panel
1.1.8 - Mar 26, 2019
  • New the ability to manage all existing cron tasks on a Cron Tasks List grid in backend was added. Run cron tasks and generate their schedule by clicking the ‘Run Cron’ button. Also, delete tasks in bulk, use filtering and sorting options when it is needed
1.1.7 - Jan 24, 2019
  • Improvement minor visual improvement for the extension settings in the admin panel
1.1.6 - Nov 22, 2018
  • Fix the issue with archiving invoices, shipments and credit memos for orders that shouldn't be archived was resolved
1.1.5 - Aug 09, 2018
  • Fix the order archive restriction for user roles permission was improved
1.1.4 - Jul 09, 2018
  • Improvement now, an invoice or shipment is visible in the archive
  • Improvement the proper invoice/shipment numbers are shown inside an archive
  • Fix the issue with including invoice and shipment into an archive while running via cron was resolved
1.1.3 - Dec 26, 2017
  • Fixed an issue with the exception when the table prefix is not empty
1.1.2 - Dec 19, 2017
  • Fixed an issue with file export into CSV
  • Fixed an issue with the exception after deleting an order
1.1.1 - Nov 03, 2017
  • Fixed issue with mass action \"Delete permanently\".
1.1.0 - Oct 16, 2017
  • New feature: API support is added;
  • Magento 2.2 compatibility is tested and confirmed;
  • Compatibility with Custom Order Attributes is added.
Version 1.0.2
Last Update: Sep 28, 2017
1.0.2 - Sep 28, 2017
  • Minor changes.

Ratings & Reviews

90% of 100
© 2009-2023 Amasty. All Rights Reserved.