dominicwatts/deleteorder

Magento 2 Delete order via admin or in console script. Database level delete covering many tables.

Installs: 976

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 1

Open Issues: 0

Type:magento2-module

1.0.6 2021-09-13 16:06 UTC

This package is auto-updated.

Last update: 2024-11-13 23:08:52 UTC


README

phpcs

PHPCompatibility

PHPStan

php-cs-fixer

Delete order via admin or in console script. Database level delete covering many tables.

Install instructions

composer require dominicwatts/deleteorder

php bin/magento setup:upgrade

Usage Instructions

Console command to delete orders

xigen:deleteorder:delete [-o|--orderid [ORDERID]] [-i|--increment [INCREMENT]] [--] [<all>]

php bin/magento xigen:deleteorder:delete -o 25

php bin/magento xigen:deleteorder:delete -i 000000024

php bin/magento xigen:deleteorder:delete all

Additional warning in place to catch [all] delete

php bin/magento xigen:deleteorder:delete all
2019-07-24 22:14:25 Start Processing orders
You are about to remove all your orders. Are you sure?[y/N]

Admin screen

Admin delete button

Admin order grid mass action

Admin delete button