Magento 2 – How to Make Phone Number Optional

checkoutcheckout-pagedatabasemagento2template

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

Best Answer

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.

Related Topic