Web Analytics

Fill the form & Get Installation Support

How to add new customer address attributes in Magento 2?

Magento provides so many default fields but If we need custom information in customer address then we can create a new customer_address type attribute.

In this article, I will share how we can add text type attribute in Customer Address,

You need to create InstallData.php file in your existing module or you can create a new module as well as,

If you are creating in your existing module: app/code/[Vendor Name]/[Module Name]/Setup/InstallData.php

After creating the above file you have to run below commands:

Now you can check in the customer section in the admin area.
Our newly created attribute shown in the customer address form.

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

    Recent Articles

    Author Info

    Author Image

    Magento Developer

    Hire S. Gorjia

    Get a Free Quote

      /* second popup */

      Connect With Us