How to override address/grid.phtml in Magento 2?

You can override the grid.phtml file to manage additional addresses of the customer.

If the customer has multiple addresses available, it will be displayed in the Additional Address Entries section of the Address book page. You can add/update the new column to the address list on the page using overriding grid template file.

Magento\Customer\Block\Address\Grid Block class is used to manage the grid template file. You can override using theme or module level,

1. Theme Level,


2. Module Level,
When you explore the customer_address_index.xml file from the customer module, You can see the address_book block that will be used to display an address book page on the frontend.

File Path: app/code/Jesadiya/Book/view/frontend/layout/customer_address_index.xml

<?xml version="1.0"?>
<page xmlns:xsi="" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
        <referenceBlock name="address_grid">
            <action method="setTemplate">
                <argument name="template" xsi:type="string">Jesadiya_Book::address/grid.phtml</argument>

Create Template file to override grid.phtml,

Keep the required content from the Core template and modify your changes. You can also override Address book.phtml in Magento 2

Clear Cache to see changes,
php bin/magento cache:flush