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.

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.

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

Step 2: Now move to the following file path

app\code\Vendor\Extension\Model\Checkout\LayoutProcessorplugin.php

Then add the code as follows

Step 3: After that, run the below commands

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.

Happy Coding!

Click to rate this post!
[Total: 2 Average: 5]