@Tayyab Gulsher Vohra ....
I also run into this problem. I concluded and did it. follow the instructions., The operating system is the platform of the MVC structure , so you need to know about the controller, model and presentation. Here, Controller is the first initialization phone number in the index() function
if (isset($this->request->post['telephone'])) { $this->data['telephone'] = $this->request->post['telephone']; } else { $this->data['telephone'] = $this->customer->getTelephone(); }
further, this phone number must be valid,
function validate() if( !preg_match("/^([1]-)?[0-9]{3}-[0-9]{3}-[0-9]{4}$/i", $this->request->post['telephone']) ) { $this->error['telephone'] = $this->language->get('error_telephone'); }
then you should be initialized with the phone number in the language file.
source share