techimprovement / module-delete-orders
N/A
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- magento/framework: *
README
The "Delete Orders" module for Magento 2 allows store administrators to delete orders directly from the Magento admin panel. This feature is particularly useful for removing test orders or any orders that are no longer needed, helping maintain a clean and organized order management system.
Features
- Mass Delete Orders: Delete multiple orders at once from the order grid in the admin panel.
- Delete Individual Order: Delete specific orders from the order view page.
- Comprehensive Deletion: Along with the order, related invoices, shipments, and credit memos are also deleted.
- ACL Control: Access control to restrict the deletion feature to specific admin roles.
- Enable/Disable Module: Flexibility to enable or disable the module from the admin configuration.
Installation
Via Composer
- Run the following command in your Magento root directory:
composer require techimprovement/module-delete-orders
- Enable the module:
php bin/magento module:enable TechImprovement_DeleteOrders
- Upgrade the database:
php bin/magento setup:upgrade
- Clear the cache:
php bin/magento cache:clean
Manually
- Download the module's ZIP file and extract it.
- Create a folder path
app/code/TechImprovement/DeleteOrders
in your Magento root directory and copy the extracted files there. - Run the following commands in your Magento root directory:
php bin/magento module:enable TechImprovement_DeleteOrders
php bin/magento setup:upgrade
php bin/magento cache:clean
Configuration
- Navigate to
Stores > Configuration > TechImprovement > Delete Orders
in your Magento admin panel. - Enable the module and configure it according to your needs.
Usage
- To delete individual orders, open the order view page and click on the "Delete Order" button.
- To mass delete orders, select the orders from the order grid, choose the "Delete Order(s)" action from the mass action dropdown, and submit.
Compatibility
This module is tested and compatible with Magento CE, EE versions 2.4.6.x.
Uninstallation
To uninstall the module, run the following command:
php bin/magento module:uninstall TechImprovement_DeleteOrders
Support
For any issues or feature requests, please contact the module developer at info@techimprovement.com.
Support Our Project
If you find this project helpful, consider supporting us with a donation by clicking this button or scan the QR code below: