How To Make Customer Telephone Number A Mandatory Field When Checking Out
Would like to be able to make it compulsory for customer to enter a telephone number when checking out.
At the moment we are using the PayPal Express checkout, and have the guest checkout option as well.
Not sure if this helps:
Configuration > Minimum Values > Telephone Number (currently set at 3).
At present customers are able to check out without providing a telephone number, which isn't good, because some couriers insist on a telephone number, and sometime customers need to be contacted about orders.
Any suggestions, would be really appreciated!
Kind Regards,
Andy
Re: How To Make Customer Telephone Number A Mandatory Field When Checking Out
May have to use an observer style approach to detect that the number has been captured by zc and if not to return to an earlier point of the checkout. May require observing more than one notifier so that can return to a later point in processing depending on method/point of checkout.
Issue in part is that this data must be entered as part of checkout process when using guest checkout (could annoyingly prohibit that method of using a specific carrier) or as a logged in customer (who may have multiple destination addresses in the account) and then there is the need to ensure data entry isn't just a bunch of html characters.
In standard checkout, I would think to listen to starting the checkout_payment page load as typically shipping/destination would have already been identified. Then with PayPal express, there are a few exit points based on starting point in the store.
Re: How To Make Customer Telephone Number A Mandatory Field When Checking Out
There is an old 'Add shipping phone' plugin.
https://www.zen-cart.com/downloads.php?do=file&id=1100
This adds a new phone field to shipping address which I think is a good idea because the sender's phone number might not be appropriate.
However it was last updated for 155 - but it might lead you in the right direction.
(I've always meant to check this out because it would be useful for myself but have never got around to it)
Re: How To Make Customer Telephone Number A Mandatory Field When Checking Out
Re: How To Make Customer Telephone Number A Mandatory Field When Checking Out