bluenty / magento2-restore-order
The Bluenty Restore Order module for Magento 2.x provides functionality to restore orders that have been canceled or failed due to payment issues.
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
Type:magento2-module
Requires
- php: ^7.3 || ^7.4 || ^8.0 || ^8.1
- magento/framework: ^102.0 || ^103.0 || ^104.0
- magento/module-sales: ^103.0.1 || ^104.0.1
README
Overview
The Bluenty Restore Order module for Magento 2 provides functionality to restore orders that have been canceled. This module adds a button with a dropdown menu to the order view in the Magento 2 admin panel, allowing administrators to easily restore these orders.
Features
- Restore orders that were canceled.
- Supports multiple languages with translation files, including Spanish (ES_es).
- Easily accessible from the order view in the admin panel with a single button when the order is canceled.
Installation
Option 1: Manual Installation
-
Upload the Module:
- Place the module files in
app/code/Bluenty/RestoreOrder/
.
- Place the module files in
-
Enable the Module: Run the following commands in the Magento root directory:
php bin/magento module:enable Bluenty_RestoreOrder php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento cache:flush
Option 2: Install via Composer (Recommended)
- Install the module:
Install the module using Composer by running:
composer require bluenty/magento2-restore-order php bin/magento module:enable Bluenty_RestoreOrder php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento cache:flush
Translation
- Spanish (ES_es) translation is available by default. To add more languages, create appropriate translation files in the
i18n
folder.
Usage
-
Access Order View:
- Go to the Magento 2 admin panel, and view an order that is canceled.
-
Restore Order:
- You will see a "Restore Order" button with a dropdown menu. Select either "Restore Order (Payment Failure)" or "Restore Canceled Order" based on the scenario.
-
Confirmation:
- The order will be restored and a confirmation message will be displayed.
Troubleshooting
- If you encounter a 404 error after installing the module, ensure that you have cleared the cache and recompiled Magento using the commands mentioned above.
- Check
var/log/system.log
andvar/log/exception.log
for any errors if the module does not behave as expected.
License
This module is licensed under the GNU Affero General Public License v3.0. See the LICENSE file for more details.