fioxx Posted February 12, 2016 Share Posted February 12, 2016 Hi, I have a problem with prestashop 1.6, I want disable the lastname required in the registration form. How can I do it? P.s. Excuse me for my English, but I'm Italian and I can't speak English very well. Thanks, Filippo Mereu. Link to comment Share on other sites More sharing options...
sandipchandela Posted February 13, 2016 Share Posted February 13, 2016 You need to change in controller file named customercontroller. File will be in controllers folder. By the way you have a good command over English. Link to comment Share on other sites More sharing options...
fioxx Posted February 13, 2016 Author Share Posted February 13, 2016 You need to change in controller file named customercontroller. File will be in controllers folder. By the way you have a good command over English. Thank you! I have solved, I modified in the MySql the table ps_customer, I have changed the field "Null" from No to Yes. In the file authenthication.tpl, I have delete "required" and "is_required validate", from the lines of lastname, and in customer.php I have delete "required" It work! Link to comment Share on other sites More sharing options...
sandipchandela Posted February 16, 2016 Share Posted February 16, 2016 Sounds great. Awesome way. Happy PrestaCoding. 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