---
title: 'Bulk Order Deletion'
url: 'https://info.srv.kowal.co/docs/magento/modules/delete-mass-order'
markdown: 'https://info.srv.kowal.co/docs/magento/modules/delete-mass-order.md'
lang: en
date: '2026-11-25'
description: 'Add a bulk action for deleting selected orders from the Admin grid. The module deletes the order’s invoices, shipments and credit memos before removing the order itself.'
taxonomy:
  category:
    - docs
    - Magento
    - Modules
  tag:
    - orders
    - administration
---

# Bulk Order Deletion

**Composer** `kowal/module-deletemassorder` · **Version** 1.0.0

## Product page

[Bulk Order Deletion — kowal.co](https://kowal.co/bulk-order-deletion-in-magento-2)

## Description

Add a bulk action for deleting selected orders from the Admin grid. The module deletes the order’s invoices, shipments and credit memos before removing the order itself.

## For whom

For administrators cleaning up test data in an environment where the selected orders and their documents can be permanently removed.

## Features

- Select records through the orders grid.
- Confirm the Delete Order action.
- A dedicated Admin role permission controls execution.

## Installation

From the Magento root, with Composer access to the Kowal package, run

```sh
composer require kowal/module-deletemassorder
bin/magento module:enable Kowal_DeleteMassOrder
bin/magento setup:upgrade
bin/magento cache:clean
```

## Configuration

1. After installation, open **System → Permissions → User Roles** and check the **order delete** permission in the module’s group.
2. In **Sales → Orders**, locate a disposable test order by number and select its row. Check that the selection does not include other filtered results.
3. Choose **Delete Order** from the mass actions menu. Before confirming, verify the selected records and the availability of a restorable backup.

## Requirements / notes

Deletion permanently removes data, including related sales documents. Orders are processed sequentially. After an interruption, establish which orders and documents remain before attempting another run.

## FAQ

**Will deleting an order void its payment or issue a refund through the payment provider?**

No. The module deletes Magento records. Payment reversal and refunds require a separate payment workflow.

## Verify the installation

```sh
bin/magento module:status Kowal_DeleteMassOrder
```

On a restorable test copy, prepare two disposable orders and select one. Confirm deletion, compare the message with the grid and check that the selected order’s documents are gone while the other order remains accessible.

---

## Navigation

- Parent: [Magento 2 Extensions](https://info.srv.kowal.co/docs/magento/modules.md)
- Previous: [Google Ads Enhanced Conversions](https://info.srv.kowal.co/docs/magento/modules/extended-conversions.md)
- Next: [Hyvä Layout](https://info.srv.kowal.co/docs/magento/modules/hyva.md)
