wajdikick Posted June 16, 2021 Share Posted June 16, 2021 (edited) I am trying to remove rules validation for customer's Lastname field.. I have succeed to do it in the front page for customer registration by editing Classes/Customer.php file like this: 'lastname' =>array('type' => self::TYPE_STRING, 'validate' => 'isCustomerName', 'required' => true, 'size' => 32), to : 'lastname' =>array('type' => self::TYPE_STRING, 'validate' => 'isAnything', 'required' => true, 'size' => 32), I have simply used isAnything in validation. But that's not working in the Backoffice, so i can't edit customers from BO. Can't find what file to change exactly. I am using Prestashop V1.7.6.8. Need help please. Thanks Edited June 16, 2021 by wajdikick (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now