Web Analytics

Fill the form & Get Installation Support





    In Magento 2 customer IP is generally getting displayed at the admin order page, But not the customer location.

    So today we are going to talk about displaying customer location on the admin order page by using a location API.

    Follow the below tutorial step wise to get it done:

    1. Create {{Your Vendor name}}/{{Extension Name}}/registration.php
    For Example : Magemonkey/CustomerLocation/registration.php

    2. Create {{Your Vendor name}}/{{Extension Name}}/composer.json
    For Example : Magemonkey/CustomerLocation/composer.json

    3. Create {{Your Vendor name}}/{{Extension Name}}/etc/module.xml
    For Example : Magemonkey/CustomerLocation/etc/module.xml

    4. Create {{Your Vendor name}}/{{Extension Name}}/view/adminhtml/layout/sales_order_view.xml
    For Example : Magemonkey/CustomerLocation/view/adminhtml/layout/sales_order_view.xml

    5. Create {{Your Vendor name}}/{{Extension Name}}/view/adminhtml/web/general.js
    For Example : Magemonkey/CustomerLocation/view/adminhtml/web/general.js

    After follow above steps run below commands:

    Once you’ll execute above steps, you’ll able to see the location at the admin order view page as shown below:

    Fill the below form if you have any Magento programming need.





      Recent Articles

      Author Info

      Hire B. Darji

      Get a Free Quote





        Let our Magento expert connect to discuss your requirement.


          We offer Magento
          certified developers.

          Our Magento clientele
          is 500+.

          We sign NDA for the
          security of your projects.

          We’ve performed 100+
          Magento migration projects.

          Free quotation
          on your project.

          Three months warranty on
          code developed by us.