Sales Order Delete
aimanecouissi/module-sales-order-delete-admin-ui
Adds permission-gated Delete actions to the order view page and a mass action to the Admin Sales Orders grid, removing selected orders along with their eligible linked records and orphaned quotes.
Build Tests
Code Quality
Tested on Magento 2.4.9
Recent Test History
Each release is tested against the latest Magento version at that time.
Share This Module's Status
README
Loaded from GitHubAimaneCouissi_SalesOrderDeleteAdminUi
Adds Delete actions to order views and the Admin → Sales → Orders grid. The module provides both an order view button and a grid mass action for deleting orders and their eligible linked records from the Admin.
Installation
composer require aimanecouissi/module-sales-order-delete-admin-ui
bin/magento module:enable AimaneCouissi_SalesOrderDeleteAdminUi
bin/magento setup:upgrade
bin/magento cache:flush
Usage
Open an order from the Admin → Sales → Orders grid. The Delete button appears on the order view page when the current Admin user has the Delete permission.
The Delete mass action appears in the Admin → Sales → Orders grid and deletes selected orders. Deleted orders also remove configured linked order rows; the related quote is deleted only when no remaining order or negotiable quote references it.
Uninstall
bin/magento module:disable AimaneCouissi_SalesOrderDeleteAdminUi
composer remove aimanecouissi/module-sales-order-delete-admin-ui
bin/magento setup:upgrade
bin/magento cache:flush
Changelog
See CHANGELOG for all recent changes.
License
This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.