What is the right way to make the phone number not required during the checkout in Magento 2?

I have read different opinions where people suggest editing the database, which as far as I know is not a good practice

  • have you checked my answer? – Divyesh May 17 '18 at 10:53
  • yes I ended up doing it your way... though imho Thangams answer fits more, since I dont like messing with the database directly – Xopex May 17 '18 at 12:49
  • okay,Cool@Xopex – Divyesh May 17 '18 at 13:09
  • What is phone number (optional) – Jellian Jan 27 '19 at 11:39
  • If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. - From Review – David Verholen Jan 27 '19 at 12:04

To change phone number into optional follow the below configuration setup

Go to Admin Login -> Stores -> (Settings) Configuration -> Customers(Tab) -> Customer Configuration -> Name and Address Options.

In their change Show Telephone is Required into Optional.

enter image description here Now the checkout page is not asking the Phone number is required.

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.