Magento 2 Order History

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

  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

 

  1. Extension Installation
  • 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

 

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

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

 

 

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

 

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