Delete Any Order 2

Delete orders safely and reliably from your Magento 2 database

Save removal of order data

Magento does not allow you to delete orders. While this decision makes good sense, many users are still in need of this functionality. Our Delete-Any-Order extension gives you this functionality in a safe way without danger of you loosing data: You can delete single orders with all their related data.

€ 59

for 6 months

  • 1 year of free updates & support
  • 100% open source and well-written
  • compliant with Magento standards
  • 14 day money-back guarantee

Easy to use

The Delete-Any-Order extension is quickly installed and after this, dead-easy to use: Simply zoom into an order and delete it - either via the orders grid or the order page.

Retaining integrity

Instead of just deleting orders, which is peanuts, Delete-Any-Order also ships with numerous ways to keep the database integrity intact. And checks if this is still the case.

Packages & pricing

We give you straight-forward functionality

Delete Magento orders without you needing to worry about it

Select an order & delete it

It sounds so simple: Selecting a Magento order and deleting it - either through a massaction option in the grid, or a button on the order page. However, Magento - by default - does not allow for this, because following bookkeeping terms this should not be allowed. But if Magento is not used for bookkeeping, this matters less. Our extension offers a fundamental feature that every shop owner might need.

Maintain database integrity

When removing an order, some things will still stick in the database: Grids are not updated, child entities will remain. This clutters your database and could lead potentially to corrupt databases. Our extension makes sure that all order-related information in the database remains intact.

Proper code quality

This extension is well-written, following current Magento coding standards (like ECG2 and MEQP2) and is 100% open source. Any developer is able to pick up its source code and extend it where needed.

Extension screenshots

Quick Start to install your Yireo extension

Installation via composer

We recommend to install Magento 2 extensions via composer. See the Composer project for instructions on how to get composer up and running. Once composer is installed, use the following commands to install our extension. Make sure to add in your own subscription key.

composer config repositories.yireo-delete-any-order-2 composer \
https://api.yireo.com/composer.php/key,YOUR-LICENSE-KEY/
composer require yireo/magento2-deleteanyorder2

After the composer installation has finished, use the following commands to enable the module within Magento:

bin/magento module:enable Yireo_DeleteAnyOrder2
bin/magento cache:clean
bin/magento setup:upgrade

After these commands, the extension is ready for use in Magento. If you were already logged into the Magento Admin Panel, make sure to logout and log back in again, before proceeding.

Do not forget to grab yourself a manual copy of our extension as a backup. Once your subscription expires, our composer repository will not deliver any packages anymore.

Manual installation

Please note that we highly recommend using composer instead. However, in some cases, it might be required to do a non-composer installation. For this, download the module ZIP from our site (see File Downloads). Next, create a folder with the following name and copy to the ZIP contents to it:

app/code/Yireo/DeleteAnyOrder2

After the files have been uploaded, confirm that all files are in place. For instance, you should have a file like app/code/Yireo/DeleteAnyOrder2/etc/module.xml. Next, use the following commands to enable the module within Magento:

bin/magento module:enable Yireo_DeleteAnyOrder2
bin/magento cache:clean
bin/magento setup:upgrade

After these commands, the extension is ready for use in Magento. If you were already logged into the Magento Admin Panel, make sure to logout and log back in again, before proceeding.

Do not forget to grab yourself a manual copy of our extension as a backup. Once your subscription expires, our composer repository will not deliver any packages anymore.

File downloads

‚Äč
Name Version Download link
Login to see the packages available to you
Download

Frequently Asked Questions

No. However, if you are making money with building multiple shops, we appreciate it if you subscribe for multiple subscriptions. That way - in the spirit of open source - you can help us develop useful extensions for you.
In bookkeeping terms, it's not correct to remove orders or to leave a gap in your order numbering. At least, that's what some bookkeepers will tell you. If you use Magento as a bookkeeping system, you shouldn't be removing invoices or orders, so you shouldn't even be looking at this extension. However, if you have an alternative bookkeeping system, you can use this extension. Everything is fine (according to us) as long as the bookkeeping is consistent.
No, it is not. As a policy, all our Yireo software is unencrypted - we do not make use of technologies like ionCube or ZendOptimizer. All PHP-code is open source, but for commercial extensions the code is only given to paying customers.
Once you purchase this extension, you get access to the downloads for a period of time (normally 12 months). The downloads folder will contain both minor updates and major updates. You can always download the latest version of Delete-Any-Order at any time by logging into your Yireo Account - as long as you have a support subscription that did not expire yet. Likewise, for the period of the subscription, you can use `composer` to install the Delete-Any-Order package from the command-line. If your subscription expired, you are required to purchase a new subscription to access new updates.
Once the subscription expires, the composer feed will not give you any access to the software anymore. We recommend you to download the latest ZIP file from our site and add this to your own private composer repository instead (BitBucket, GitHub) so you keep the latest sources available through composer.
Delete-Any-Order does not deal with any Magento reports or Magento statistics (like the one on the dashboard of the Magento Admin Panel), and therefor, when removing any order, none of the already made statistics and reports are modified. However, the dashboard statistics and newly created reports are generated from the database, and because Delete-Any-Order removes orders from the database completely, this is still working as it should. However, for issues with these statistics and reports, you most likely need to discuss this on the Magento Forums - unless you have grounded reason to believe that Delete-Any-Order has not removed an order correctly.

Getting support

If you run into problems, we help you out in the following ways:

Code of proper quality

Delete-Any-Order is written following standards like PSR-2, MEQP2, ECG and ExtDN. You can hook into the event (sales_order_delete_after). If you intercept methods using a Plugin, please let us know, so we can mark it as @api.

Developer notes

This extension violates some standards of ECG and EQP because it uses raw SQL queries to scan the database.

This extension has been tested with 150.000 orders (built using the Performance Toolkits extra_large profile).

Changelog

1.0.2

  • Properly add dependencies

1.0.1

  • Tests with Performance Toolkit (extra_large)
  • Optimize DELETE queries

1.0.0

  • Add Delete mass action in order grid
  • CLI to delete, analyse and fix
  • Composer package
  • Integration tests
  • Unit tests

We are a proud member of ExtDN

ExtDN forms a network of Magento extension developers, that strive for a better extension quality - both on a technical level and from an end-users point of view. With industry leaders like Fooman and aHeadworks, ExtDN lifts up the Magento extension space to a new level. And Yireo is proud to be part of this.