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.
- 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.
-
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
- 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
- Spanish (ES_es) translation is available by default. To add more languages, create appropriate translation files in the
i18nfolder.
-
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.
- 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.logandvar/log/exception.logfor any errors if the module does not behave as expected.
This module is licensed under the GNU Affero General Public License v3.0. See the LICENSE file for more details.