Jump to content

problem with phone nr field


Recommended Posts

Hello!

 

 I am new to prestashop. I have a problem i can't solve because there is no error, just a blank page when a customer tries to submit an order without registration.

 

x8kb.png

 

if i disable field require option the next page is shown corectly but if i make the field required when i press continue i get a blank page. I turned error reporting on with no success.

If the phone number is not valid i get an error as aspected.

 

 

Link to comment
Share on other sites

Hello!

 

 I am new to prestashop. I have a problem i can't solve because there is no error, just a blank page when a customer tries to submit an order without registration.

 

x8kb.png

 

if i disable field require option the next page is shown corectly but if i make the field required when i press continue i get a blank page. I turned error reporting on with no success.

If the phone number is not valid i get an error as aspected.

 

Solved after commenting this lines:

    //    if (Configuration::get('PS_ONE_PHONE_AT_LEAST') && !Tools::getValue('phone') && !Tools::getValue('phone_mobile') &&

        //     (Configuration::get('PS_REGISTRATION_PROCESS_TYPE') || Configuration::get('PS_GUEST_CHECKOUT_ENABLED')))

            //$this->errors[] = Tools::displayError('You must register at least one phone number');

Link to comment
Share on other sites

×
×
  • Create New...