Jump to content

Problem with checkout and quick order


Recommended Posts

Hello, 

 

I have some problem with my PrestaShop 1.6.0.9. When I try to checkout with quick-order (no registration) and whenever I enter in field Surname I get error that the field is empty.

 

What can be the problem here?

Thank's

 

edit:

When I try to register new profile also got this error.

Edited by slsv (see edit history)
Link to comment
Share on other sites

No, i don't have. Is almost clean installation. And only the field for lastname doesn't accept it.. The error is always "The field lastname is 

required". 

Where I can check or make it not required? Which controller AuthController?

Or in auth.tpl change something for lastname?

<div class="required form-group">
  <label for="lastname">{l s='Last name'} <sup>*</sup></label>
  <input type="text" class="is_required validate form-control" data-validate="isName" id="lastname" name="lastname" value="{if isset($smarty.post.lastname)}{$smarty.post.lastname}{/if}" />
</div>

edit:

I've tried and changed in classes/Customer.php but doesn't helped me..

'lastname' => 					array('type' => self::TYPE_STRING, 'validate' => 'isName', 'required' => false, 'size' => 32),
Edited by slsv (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...