Hi guys
Why is the telephone number still required on a customer address?
We hear from our shop owners that a lot of customers refuse to enter something in there or just enter gibberish.
An ideal solution would be if you could add a configuration option in the backend similar to the Gender, Tax/Vat Number and Date of Birth fields.
So an option for showing the telephone number where you can choose between No, Optional or Required. What do you think?
I had to implement this today into a Magento CE 1.x store and it was kind of a terrible experience, changing stuff in the database, remove the hard coded validation of that field (which is still present btw:
|
if (!\Zend_Validate::is($this->getTelephone(), 'NotEmpty')) { |
), ...
Related to #624
Hi guys
Why is the telephone number still required on a customer address?
We hear from our shop owners that a lot of customers refuse to enter something in there or just enter gibberish.
An ideal solution would be if you could add a configuration option in the backend similar to the
Gender,Tax/Vat NumberandDate of Birthfields.So an option for showing the telephone number where you can choose between
No,OptionalorRequired. What do you think?I had to implement this today into a Magento CE 1.x store and it was kind of a terrible experience, changing stuff in the database, remove the hard coded validation of that field (which is still present btw:
magento2/app/code/Magento/Customer/Model/Address/AbstractAddress.php
Line 572 in 93312ca
Related to #624