---
title: "Magento 2: How to Add Custom Notice on Billing Address and Shipping Address Phone No Field"
url: "https://magecomp.com/blog/magento-2-add-custom-notice-on-billing-address-and-shipping-address-phone-no-field/"
date: "2023-01-16T11:54:52+00:00"
modified: "2025-05-28T12:00:57+00:00"
author:
  name: "Dhiren Vasoya"
  url: "https://magecomp.com/"
categories:
  - "How To"
  - "Magento 2"
word_count: 381
reading_time: "2 min read"
summary: "Hello Magento Friends,"
description: "Add Custom Notice on Billing Address and Shipping Address Phone No Field in Magento 2. Checkout the steps."
keywords: "How To, Magento 2"
language: "en"
schema_type: "Article"
related_posts:
  - title: "Laravel: How to Add Form Validation in the Request Controller"
    url: "https://magecomp.com/blog/laravel-add-form-validation-in-the-request-controller/"
  - title: "Magento 2: Check if the Current Area is Frontend or Backend"
    url: "https://magecomp.com/blog/magento-2-check-current-area-is-frontend-or-backend/"
  - title: "How to Join Two Tables and Create Admin Grid using UI Component in Magento 2?"
    url: "https://magecomp.com/blog/join-two-tables-and-create-admin-grid-using-ui-component-magento-2/"
---

# Magento 2: How to Add Custom Notice on Billing Address and Shipping Address Phone No Field

_Published: January 16, 2023_  
_Author: Dhiren Vasoya_  

![How to Add Custom Notice on Billing Address and Shipping Address Phone No Field M2](https://magecomp.com/blog/wp-content/uploads/2023/01/How-to-Add-Custom-Notice-on-Billing-Address-and-Shipping-Address-Phone-No-Field-M2-1024x512.webp)

**Hello Magento Friends,**

In this blog, we will learn about How to Add Custom Notice on Billing Address and Shipping Address Phone No Field in Magento 2.
[![Magento 2 Speed & Performance Optimization Services](https://magecomp.com/blog/wp-content/uploads/2025/02/Magento-2-Speed-Performance-Optimization-Services-CTA-3.webp)](https://magecomp.com/magento-performance-optimization.html)

The customer’s phone numbers are very valuable. Getting customer phone numbers during order placement helps to contact them for any delivery issue or future communication.
You can set the phone number input field format on the checkout page using [**Input Mask in Checkout Telephone Field in Magento 2**](https://magecomp.com/blog/magento-2-use-input-mask-checkout-telephone-field/).
Set custom instructions for the phone number field input on the billing and shipping addresses in Magento 2 using the steps below.
## Steps to Add Custom Notice on Billing Address and Shipping Address Phone No Field in Magento 2:
**Step 1:** Go to the below file path
**app\code\Vendor\Extension\etc\di.xml**

Now add the code as given below
```
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
	<type name="MagentoCheckoutBlockCheckoutLayoutProcessor">
    		<plugin name="rewrite-checkout-fields" type="VendorExtensionModelCheckoutLayoutProcessorplugin" sortOrder="10"/>
    	</type>
</config>
```

**Step 2:** Now move to the following file path
**app\code\Vendor\Extension\Model\Checkout\LayoutProcessorplugin.php**

Then add the code as follows
```
<?php
namespace VendorExtensionModelCheckout;

class LayoutProcessorplugin
{
    public function afterProcess(
        MagentoCheckoutBlockCheckoutLayoutProcessor $subject,
    	array  $jsLayout
    )
    {
        $jsLayout['components']['checkout']['children']['steps']['children']['shipping-step']
            ['children']['shippingAddress']['children']['shipping-address-fieldset']['children']['telephone']['notice'] = __('Enter Number With Country code & without any sign. e.g:-(91xxxxxxx09)');

        if (isset($jsLayout['components']['checkout']['children']['steps']['children']['billing-step']['children']
            ['payment']['children']['payments-list']['children']))
        {
            foreach ($jsLayout['components']['checkout']['children']['steps']['children']['billing-step']['children']['payment']['children']['payments-list']['children'] as $key => $payment)
            {
                $jsLayout['components']['checkout']['children']['steps']['children']['billing-step']['children']['payment']['children']['payments-list']['children'][$key]['children']['form-fields']['children']['telephone']['notice'] = __('Enter Number With Country code & without any sign. e.g:-(91xxxxxxx09)');
            }

        }
        return $jsLayout;
    }
}
```

[![hyva theme development](https://magecomp.com/blog/wp-content/uploads/2025/02/hyva-theme-development-CTA-3.webp)](https://magecomp.com/services/hyva-theme-development/)

**Step 3:** After that, run the below commands
```
php bin/magento setup:di:compile
php bin/magento cache:flush
```

## Conclusion:
Hopefully, using the above method, you can Add Custom Notice on Billing Address and Shipping Address Phone No Field in Magento 2. If you have any difficulty, share the problem with me through the comment box. Stay in touch with us for Magento Customization.
[![Hire Magento Programmer](https://magecomp.com/blog/wp-content/uploads/2025/02/Hire-Magento-Programmer-CTA-3.webp)](https://magecomp.com/services/hire-magento-programmer/)

**Happy Coding!**


---

_View the original post at: [https://magecomp.com/blog/magento-2-add-custom-notice-on-billing-address-and-shipping-address-phone-no-field/](https://magecomp.com/blog/magento-2-add-custom-notice-on-billing-address-and-shipping-address-phone-no-field/)_  
_Served as markdown by [Third Audience](https://github.com/third-audience) v3.5.3_  
_Generated: 2026-08-20 15:06:41 UTC_  
