pberce Posted December 13, 2011 Share Posted December 13, 2011 Hello, New to Prestashop and I'm in the process of adapting it to my needs. I'm tweaking the form authentication process for new customers. One thing I wanted to change was the method used to validate the information entered on the new customer registration page. I want to change how the validation errors are displayed. This is done by the CustomerCore class, which is derived from the abstract ObjectModel class. I'd like to make changes to the validateController function. This function is a common function only defined in the ObjectModel class. I'm thinking I'll just need to modify the ObjectModel class directly if I want to change how the validateController function works. Is this the only way to change the validateController function? Link to comment Share on other sites More sharing options...
pberce Posted December 13, 2011 Author Share Posted December 13, 2011 Nevermind, this is just an example of basic override of a controller. My IDE(phpStorm) didn't recognize this so I didn't think it would work. It works just fine. 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