techimprovement/module-delete-orders

N/A

1.0.0 2024-02-18 04:51 UTC

This package is auto-updated.

Last update: 2024-09-18 06:28:53 UTC


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

  1. Run the following command in your Magento root directory:
composer require techimprovement/module-delete-orders
  1. Enable the module:
php bin/magento module:enable TechImprovement_DeleteOrders
  1. Upgrade the database:
php bin/magento setup:upgrade
  1. Clear the cache:
php bin/magento cache:clean

Manually

  1. Download the module's ZIP file and extract it.
  2. Create a folder path app/code/TechImprovement/DeleteOrders in your Magento root directory and copy the extracted files there.
  3. 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

  1. Navigate to Stores > Configuration > TechImprovement > Delete Orders in your Magento admin panel.
  2. 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:

Donate QR Code