Using magento 2.2, I want to remove link from phone number in address book. Not allow user click on number.

enter image description here


You can change it easily from backend

Admin > STORES > Configuration > CUSTOMERS > Customer configuration > Address Templates > HTML

Replace HTML field content line with below

{{depend telephone}}T: <a href="tel:{{var telephone}}">{{var telephone}}</a>{{/depend}}


{{depend telephone}}T: <span>{{var telephone}}</span>{{/depend}}

save and flush cache you will see your desired result in admin order view page.

For Frontend Shipping address section you need to rewrite below template in your theme


Add above default.html file to below location


| improve this answer | |
  • It work in address book. But not work with 'Shipping Address'. Prashant Valanda. – Bong Channarith Jun 18 '18 at 9:17
  • on frontend? its not working? – Prashant Valanda Jun 18 '18 at 9:22
  • On front-end. In Check Out step 'Shipping Address' still display. – Bong Channarith Jun 18 '18 at 9:25
  • @BongChannarith updated answer please check it – Prashant Valanda Jun 18 '18 at 9:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.