16.04.2022 Views

Magento 2 Order History

  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Order History for Magento 2

User Guide

Table of Content

1. Extension Installation Guide

2. Configuration

3. Orders Tab in Customer Edit with Order Status and Item Details

4. Ordered Product History Tab in Customer Edit

5. Product Related Orders History in Product Edit

Order History for Magento2

© Meetanshi


1. Extension Installation

• For Magento Marketplace Customers

o Find the Composer name and version of the extension in the extension’s composer.json file.

o Login to your SSH and run:

• composer require meetanshi/magento2-order-history

o Enter your authentication keys. Your public key is your username; your private key is your

password.

o Wait for Composer to finish updating your project dependencies and make sure there

aren’t any errors.

o To verify that the extension installed properly, run the command:

• php bin/magento module:status Meetanshi_OrderHistory

o By default, the extension is probably disabled.

o 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

o Extract the zip folder and upload our extension to the root of your Magento 2 directory via

FTP.

o 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

Order History for Magento2

© Meetanshi


2. 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.

Order History for Magento2

© Meetanshi


3. 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.

Order History for Magento2

© Meetanshi


4. 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.

Order History for Magento2

© Meetanshi


5. 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.

Order History for Magento2

© Meetanshi

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!