Table of Contents
View Magento 2 Order Approval Rules Extension Detail Page for Features and Demo
Documentation for Order Approval Rules
Preference
- The Order Approval Rules is the ever best extension for those who want customer product to be for approval from admin side. Along with, the admin can render the order and can approve or disapprove the order according to their choice. Furthermore, the admin can put the some products or whole category on moderation.
Installation
There are two ways of installing extension in magento2.
- Using COMMAND LINE.
- Manually Install extension.
Option 1: Magento 2 install extension using COMMAND LINE (Recommended)
Follow below steps to install extension from the command line.
Step 1: Download the extension and unzip it.
Step 2: Upload it to code directory in your magento installation’s app directory. If code directory does not exists then create.
Step 3: Disable the cache under System → Cache Management.
Step 4: Enter the following at the command line:
Php bin/magento setup:upgrade
Php bin/magento setup:static-content:deploy
Step 5: Once you complete above steps log out and log in back to the admin panel and switch to Stores → Configuration → Mageants , the module will be displayed in the admin panel.
Step 6: Moreover, go to the Sales → Payment Method → Order Approval ,Click and enable this method.
Option 2: Magento 2 install extension manually
Step 1: Download the extension and unzip it.
Step 2: Upload it to code directory in your magento installation’s app directory If code directory does not exists then create.
Step 3: Disable the cache under System → Cache Management Edit app/etc/config.php file and add one line code: ‘Mageants_OrderApprovalRules’ ⇒ 1
Step 4: Disable the cache under System → Cache Management
Step 5: Once you complete above steps log out and log in back to the admin panel and switch to Stores → Configuration → Mageants, the module will be displayed in the admin panel.
Step 6: Moreover, go to the Sales → Payment Method → Order Approval ,Click and enable this method.
Backend Example
- After Installation of Extension log in to magento admin panel for set configuration of the extension.
- as per below screen shot you can set all the configuration settings here.
- as per the below screen shot enable the order approval method from here as followed:
Rule Menu:
After the completion of all the above configuration click on Marketing → Order Approval Rules and you will see custom rule grid as below screen shot
- The admin can add the new rules by cliking on add new rules Button as depicted below.
- At The last on back-end to go to Sales → Pending Order you Will see the all order grid.
- On this grid admin can approve or disapprove the order
Frontend Example
Here, when the customer will reach to the checkout step-2 page they will see the order is being under moderation as Follow.
After the placing of order the customer has to wait until order Is approve by the customer but when the admin will be approved the order and customer will be notified by mail. Despite this, after the order being approved by admin, the customer will see the complete order link and order approved status on My Account as Follow.
When customer will click on the complete order link they will automatically redirects to the checkout page as per below screenshot
On the final step, the order is being completed when the customer will place the order with payment.