Jump to content

[Solved]ObjectModel abstract class


pberce

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...