How to modify Personal Information section of the customer view tab in admin panel Magento 2?

The personal information section of the Customer view tab in the customer edit page in admin panel Magento 2 displays the basic details of the customer.

The customer Personal info section will be useful for the admin representative to manage customer-related changes. All the data will be presentation purposes only. You can also check the Default billing address section of the customer at the bottom.

Customer View tab display from the customer_form.xml of the Customer module with <htmlContent> tag.

<htmlContent name="customer_edit_tab_view_content">

You can see the template file location from,


How to Modify the customer view section by adding XML snippet?

<?xml version="1.0"?>
<page xmlns:xsi="" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
        <referenceBlock name="customer_edit_tab_view">
            <block class="Jesadiya\Extra\Block\Adminhtml\Customer\Edit\Tab\Custom"  template="Jesadiya_Extra::customer/edit/extra_infi.phtml" name="" after="personal_info"/>

Using the given code snippet, You can display extra information by a Creat Block and template file in the module. Your template information will be displayed under the Personal Information tab after clear the cache.

This is the easiest way to modify the Personal Information section on the Admin panel Customer main page.