In the file /controllers/front/AddressController.php in the function processSubmitAddress() I added a check that the customer has added a house number. This is done by adding the following check:
This works most of the time. However, when the customer chooses to register as guest this function is not called the first time he enters his address. (when he changes it it is called).
I am looking for where the address is handled in that case so that I can have some check there too.
Question
musicmaster
In the file /controllers/front/AddressController.php in the function processSubmitAddress() I added a check that the customer has added a house number. This is done by adding the following check:
This works most of the time. However, when the customer chooses to register as guest this function is not called the first time he enters his address. (when he changes it it is called).
I am looking for where the address is handled in that case so that I can have some check there too.
Edited by musicmaster1 answer to this question
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