Our Couriers require a telephone number for each order.
How can we make the telephone number a required field for customers ?
Our Couriers require a telephone number for each order.
How can we make the telephone number a required field for customers ?
admin->configuration->minimum values->telephone number
Set it to at least 5 or 6. Keep in mind this will NOT affect returning customers who already created an account earlier - you'd need to add some custom code to require a phone number from existing customers when they log in or start checkout.
As stated by balihr, the setting (whatever it may be or have been) will have no effect on existing customers. Based on the conversation one might assume that you are referring to orders placed by customers that have established an account after the time that a minimum value of 3 was established; however, the fact is not directly discussed yet.
The suggestion would be to review the affected order history against the customers. Identify when the customers established their account, then if the customers provided a phone number. Also to identify when the setting of 3 was established. From there can diagnose what the issue is and how to accomplish the desired modifications/actions.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
I have the same issue. The minimum number has always been set to 3, yet new customers register without a phone number. I'm using v1.5.5d.
Strangely in Configuration>Customer details there is no option to make phone numbers a requirement, while there is an option for almost every other field.
Did anyone resolve this issue?
Last edited by ttfan; 31 Mar 2017 at 01:19 AM.
In what way is your store's /includes/modules/create_account.php (or the copy in /includes/modules/YOUR_TEMPLATE/create_account.php) different from the as-shipped version?
For that processing, if a customer enters a telephone-number of length less than the minimum-configured ... the account will not be created.
Bookmarks