Showing posts with label Error! phone is too short or empty (EBS integration) Opencart. Show all posts
Showing posts with label Error! phone is too short or empty (EBS integration) Opencart. Show all posts

Friday 7 November 2014

EBS error phone is too short or empty Opencart


EBS error phone is too short or empty Opencart

Phone is one of the mandatory parameter and its minimum limit is 5 digits. If this is empty or less than 5 digits, the following error “Phone is too short or empty” will occur.

If above solutions does not work then try this..  Open catalog/controller/checkout/checkout.php

Now Find this line $data['telephone'] = $this->customer->getTelephone() in file and replace this one :

if($this->customer->getTelephone()){
   $data['telephone'] = $this->customer->getTelephone();
}else{
   $data['telephone'] = $personal_data['telephone'];
}

Note : Above solution is only for Opencart Framework. If you use any other framework then try to check telephone no field does save the value or not in controller.


Thats it.... Enjoy Chandresh rana's Coding... :)