13

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

5
  • have you checked my answer?
    – Divyesh
    Commented May 17, 2018 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 Commented May 17, 2018 at 12:49
  • okay,Cool@Xopex
    – Divyesh
    Commented May 17, 2018 at 13:09
  • What is phone number (optional)
    – Jellian
    Commented Jan 27, 2019 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 Commented Jan 27, 2019 at 12:04

1 Answer 1

26

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 and acknowledge you have read our privacy policy.

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