Magento 2 Order History extension facilitates the admin to track any orders related to a product or customer in Magento 2 store.
Table of Content
- Extension Installation Guide
- Configuration
- Orders Tab in Customer Edit with Order Status and Item Details
- Ordered Product History Tab in Customer Edit
- Product Related Orders History in Product Edit
- For Magento Marketplace Customers
- Find the Composer name and version of the extension in the extension’s composer.json file.
- Login to your SSH and run:
- composer require meetanshi/magento2-order-history
- Enter your authentication keys. Your public key is your username; your private key is your password.
- Wait for Composer to finish updating your project dependencies and make sure there aren’t any errors.
- To verify that the extension installed properly, run the command:
- php bin/magento module:status Meetanshi_OrderHistory
- By default, the extension is probably disabled.
- Enable the extension and clear static view files:
- php bin/magento module:enable Meetanshi_OrderHistory --clear-static-content
- php bin/magento setup:upgrade
- For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
- For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f
- php bin/magento cache:flush
- For Meetanshi Customers
- Extract the zip folder and upload our extension to the root of your Magento 2 directory via FTP.
- Login to your SSH and run below commands step by step:
- php bin/magento setup:upgrade
- For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
- For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f
- php bin/magento cache:flush
- Configuration
To configure the extension, login to Magento 2 backend, move to Stores à Configuration à Meetanshi à Order History where you can find various settings to configure the extension.
- Order History: Enable order history extension from here.
- Show Ordered Products History in Customer Edit: Select YES to display ordered products history in customer edit. This will show ordered products by a particular customer.
- Show Item Details in the Order Tab: Select YES to display item details purchased by the customers in the orders tab under customer edit.
- Show Related Orders History on Product Edit Page: Select YES to show related orders history on product edit page. This will show orders placed for the particular product.
- Orders Tab in Customer Edit with Order Status and Item Details
From the Admin Panel, go to Customers > All Customers, edit a customer and move to “Orders” tab. Apart from the order details, the admin can see product item details like name, SKU, ordered quantity and item status. The admin can also export data either in CSV or Excel XML file.
- Ordered Product History Tab in Customer Edit
From the Admin Panel, go to Customers > All Customers, edit the customer and move to the “Ordered Product History” tab. The tab displays details of all the products ordered by the selected customer. The admin can export ordered products history data to CSV and XML file.
- Product Related Orders History in Product Edit
From the Admin Panel, go to Catalog > Products, edit a product and move to “Related Orders History” tab. All the orders for this product listed here with the details. The admin can even sort, filter and export the order data in CSV or Excel XML file.