mageplaza / module-delete-orders

mageplaza/module-delete-orders

Magento 2 Delete Orders extension

magento2-module Compatibility: 2.4.7-2.4.9 Code Quality: Fail Tests: N/A Security: Pass proprietary

Are you the maintainer of mageplaza?

Packagento pulls mageplaza's Composer packages from the public registry so buyers can find them here.

Claim the namespace to take ownership, publish new releases directly, and start charging for premium versions.

Claim this namespace →

Magento 2 Delete Orders extension Free

Magento 2 Delete Orders by Mageplaza helps admins completely remove unnecessary orders, invoices, shipments and credit memos which are arised during testing process. This helps simplify order management and get these arranged neater.

Highlight features

  • Delete mass orders
  • Ability to delete all
  • Delete related data safely

Latest Stable Version
Total Downloads

IMPORTANT NOTE: This version of Magento 2 Delete Orders extension on Github is free as a contribution to the Magento community from Mageplaza. This package does not include the technical support. Should you need technical support for this extension, you will have to buy a license from Mageplaza. Click here to buy.

1. Documentation

2. FAQs

Q: I got error: Mageplaza_Core has been already defined

A: Read solution: https://github.com/mageplaza/module-core/issues/3

3. How to install Magento 2 Delete Orders

✓ Install via composer (recommend)

Run the following command in Magento 2 root folder:

With Marketing Automation (recommend):

composer require mageplaza/module-delete-orders mageplaza/module-smtp
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

Without Marketing Automation:

composer require mageplaza/module-delete-orders
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

4. Magento 2 Delete Orders: Problems & Solutions

Before applying any new changes in an online store, store admins have to carry quite many tests. This testing process can arise a number of orders, invoices, shipments and credit memos which are obviously unnecessary in long term and they can cause difficulties in management. Unfortunately, default Magento 2 doesn’t support any functionalities to remove them from the backend. This consequently causes frustration and inconvenience in administration.

There should be a way to deal with this problem, Mageplaza Delete Orders extension is developed to help store admins simplify this task. The module helps delete orders, invoices, shipments and credit memos from the backend but keeps the retire data safe. The job can be done in the blink of an eye with mass deleting feature and ability to delete all.

5. Why online stores must have Mageplaza's Delete Orders

To keep the backend well-arranged and neat

The appearance of test orders makes a store’s backend look like a mess. Thus cuts in unnecessary orders, shipments, invoices and credit memos created for testing will make everything neater, easier to follow and less confusing.

To manage the backend more easily

The large number of test orders can confuse store admins and this can cause inconvenience or mistakes in managing. Having a neater backend will simplify order management.

6. Magento 2 Delete Orders Features

magento 2 delete orders

Delete mass test orders

To remove one order, store admins only need to manipulate with few clicks. Also, many orders created for testing purposes can be remove completely in a large number simultaneously by checking multiple desired items and clicking on Delete. Other related data will be removed along with the orders without any risks to affect the rest data.

Delete all

Store admins are able to delete all test orders, invoices, shipments and credit memos really easily by performing some clicks. There will always be a confirmation step at the end to make sure everything is done right before all are eased from the backend. Hence, store admins can be carefree when they delete all orders simultaneously.

Delete related information in safety

While deleting orders, invoices, shipments and credit memos, their related data will be removed from the backend also. However, Mageplaza Delete Orders extension will make sure that the rest data can be kept safe. No harm is caused with other necessary information.

7. More features

  • Mageplaza Delete Orders for Magento 2 is totally open-source
  • The module supports multi stores
  • Multiple languages are supported
  • It’s easy to customize
  • Mageplaza provides a well-documented user guide for Magento 2 Delete Orders extension

People also search:

  • magento 2 delete order
  • magento 2 remove orders
  • magento 2 delete test orders
  • magento 2 delete order extension
  • mageplaza delete order
  • magento 2 delete all orders
  • magento 2 delete order extension free
  • magento 2 remove all orders
  • magento 2 delete orders from database

Other free Magnto 2 extension on Github

Get more Magento 2 extension on Marketplace:

Versions
Version Stability QA Status Compatibility Released
4.0.4 stable Fail Magento 2.4.7-2.4.9 Details 2026-06-18 08:14:58
4.0.3 stable Fail Magento 2.4.7-2.4.8 Details 2025-07-15 10:45:09
4.0.2 stable Not tested Not yet tested Details 2023-07-17 04:11:06
1.2.2 stable Not tested Not yet tested Details 2021-08-16 10:07:19
4.0.1 stable Not tested Not yet tested Details 2021-08-16 10:06:54
4.0.0 stable Not tested Not yet tested Details 2021-04-02 04:28:02
1.2.1 stable Not tested Not yet tested Details 2020-02-24 10:04:17
1.2.0 stable Not tested Not yet tested Details 2019-05-22 02:09:01
1.1.1 stable Not tested Not yet tested Details 2018-09-10 01:35:14
1.1.0 stable Not tested Not yet tested Details 2018-06-07 08:32:53
1.0.0 stable Not tested Not yet tested Details 2018-04-11 10:02:15

Requires 1

Package Constraint
mageplaza/module-core ^1.5.13

Compatibility

Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.

Compatibility matrix (Magento × PHP)
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Pass Pass
2.4.8 Pass Pass
2.4.9 Pass Pass

Code Quality

Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge. A phpcs finding can't make a module incompatible.

Static analysis

Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.

Static analysis results
Tool Status Findings Summary
PHPCS Fail 53 2 errors, 51 warnings (ruleset: Magento2) — 30 auto-fixable with phpcbf
PHPMD Warning 4 4 rule violations (IfStatementAssignment:3, UnusedFormalParameter:1)
Cpd Pass 0
Composer validate Info 1 valid; 1 advisory note (composer validate --strict)

PHPStan

Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases.

PHPStan results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 58 58
2.4.8 58 58
2.4.9 56 56

Tests

Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.

Unit tests

Unit tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A N/A
2.4.8 N/A N/A
2.4.9 N/A N/A

Integration tests

Integration tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A N/A
2.4.8 N/A N/A
2.4.9 N/A N/A

Security

Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.

Security results
Tool Status Findings Summary
Composer audit Pass 0
Malware scan Pass 0
License
proprietary
Authors

More from mageplaza

View vendor
Make it pay

Turn an existing module into recurring revenue.

If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.