Bulk Order Deletion for Magento 2

Select multiple records from the order list in the Magento admin panel and choose the option to delete all selected orders in bulk.The module deletes orders regardless of their status. Shipment documents and invoices associated with the orders are also deleted.
Compatibility
2.4.8, 2.4.7, 2.4.6, 2.4.5, 2.4.4, 2.4.3, 2.4.2, 2.4.1, 2.4.0, 2.3.7, 2.3.6, 2.3.5, 2.3.4
€15.38
per item
Email to a Friend

Enquire about this product

Description / Bulk Order Deletion for Magento 2

Delete Multiple Orders from the List in the Magento Admin Panel

Kowal DeleteMassOrder adds a bulk deletion action to the standard order list. Administrators can select specific records and delete them in a single operation—useful for cleaning up test orders or incorrectly created data.

What the Operation Includes

  • A Delete Order action in the bulk actions menu on the order list.
  • Support for selecting orders using the standard Magento selection and filtering mechanisms.
  • Deletion of associated invoices, shipments, and credit memos before the order is deleted.
  • A confirmation dialog before the operation begins.
  • A message showing the number of deleted orders and errors, followed by a return to the order list.
  • Access control through the administrator permission Kowal_DeleteMassOrder::order_delete.

How to Use the Module

  1. Open Sales → Orders and select the orders you want to delete.
  2. Choose Delete Order.
  3. Review your selection and accept the confirmation dialog.
  4. When the operation is complete, review the results message.

Deletion is permanent and includes associated sales documents. Back up your data before proceeding and make sure that the correct records are selected. The module processes orders directly within the admin panel request, so the batch size should be adjusted to match the server capacity.

Installation and Administrator Access

Composer package: kowal/module-deletemassorder; module: Kowal_DeleteMassOrder. Installation from a ZIP file in the app/code/Kowal/DeleteMassOrder.

After installation, run php bin/magento module:enable Kowal_DeleteMassOrder, followed by php bin/magento setup:upgrade and php bin/magento cache:flush. In production mode, follow the standard store deployment procedure; the module documentation specifies the --keep-generated option for updates.

Grant order deletion permission to the appropriate administrator roles. The module uses the standard Sales → Orders list.

More Information

Theme compatibility Luma / Blank, KOWAL

Questions and Answers

How do I delete multiple Magento 2 orders from the admin grid?

Yes — the module adds a bulk order deletion feature, allowing the admin to select a group of orders and delete them in bulk from the panel.

Does the module allow filtering orders before deletion (e.g., by status, date, customer)?

Although the module description does not provide all the details, the bulk deletion feature usually requires orders to be filtered beforehand — it is worth asking the developer about the exact filtering options.

Does deleting orders with this feature also delete related data (e.g., invoices, refunds, customer data)?

The module description does not clearly indicate whether related documents are also deleted — before using it, it is recommended to check this to avoid unintended effects on the data.

Does installing the module require modifying Magento core files or theme files?

No — the module works as a standard extension for Magento 2 and does not require overriding core files.

Does the module work efficiently in stores with a very large number of orders?

Yes — the module was designed, among other things, to support “mass” deletion, which suggests that it is optimized for a larger scale of operations. However, with a very large amount of data, it is always recommended to perform a test in a test environment.

After deleting orders, is it possible to restore them?

The module description does not mention an option to “restore” deleted orders — in practice, deletion may be irreversible. It is recommended to make a backup before performing a bulk operation.

Does this affect the performance of the store or admin panel?

The module adds the ability to delete multiple orders, but the operation itself can be resource-intensive with a large number of records — it is recommended to perform the operation during off-peak hours and to use a backup.

Do I receive technical support and updates after purchasing the module?

Yes — we provide free updates for our modules.

Which versions of Magento 2 is the module compatible with?

The description does not provide an exact list of versions — before installation, it is worth checking compatibility with your version of Magento.

Module Installation Instructions

Installation

* In a production environment, please use the option --keep-generated

Type: Composer

  1. The module is available in the Composer repository:
    • Private GitLab repository: https://gitlab.com
  2. Add the Composer repository to your configuration:
    composer config repositories.delete.mass.order vcs https://gitlab.com/magento2ext/magento-2-delete-mass-order
  3. Add the access token for the private GitLab repository:
    composer config --auth gitlab-token.gitlab.com <TWÓJ_TOKEN>
  4. Install the module using Composer:
    composer require kowal/module-deletemassorder
  5. Apply the database updates:
    php bin/magento setup:upgrade
  6. Clear the cache:
    php bin/magento cache:flush
Press to skip carousel

We found other products you might like!

Write Your Own Review
You're reviewing: Bulk Order Deletion for Magento 2
Your Rating:
Quality
Price
Support
loader
Loading...

You submitted your review for moderation.

Update cookie preferences