sixthmind Posted May 14, 2012 Share Posted May 14, 2012 I am using European VAT number checking module and currently using option: Enable checking of the VAT number with the WebService. What I need to do is: if VAT number is valid, I want the user to become a member of a specific group. I tried couple of things, but I cannot make it work. If somebody could point me to the right direction, it would be really appreciated. What I discovered so far: I can add customer to a group like that I believe: $customer->addGroups(array(2)); I am just struggling with if statement and where to put it at the moment. I am thinking that the code should be put somewhere in Address.php in public function validateController($htmlentities = true) If somebody could help me, I would appreciate it. 1 Link to comment Share on other sites More sharing options...
[email protected] Posted November 19, 2013 Share Posted November 19, 2013 hi did you solve this problem? I'd like to do as well on my shop... 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