Alexgaw Posted May 21, 2014 Share Posted May 21, 2014 Hi, I am working on a module that ads an extra field on the custom registration form. I have added a function to this hook hookActionCustomerAccountAdd ..... $params['newCustomer']->id_customer... but the value of this is empty. How can i get the new created customer ID upon submission of the registration form so I can enter it in another table in the DB? Please help!! /Cheers, Alex Link to comment Share on other sites More sharing options...
Alexgaw Posted May 21, 2014 Author Share Posted May 21, 2014 SOLVED: The correct formualation is: $params['newCustomer']->id Link to comment Share on other sites More sharing options...
vekia Posted May 22, 2014 Share Posted May 22, 2014 thank you for posting solution i marked your answer as a solution, and whole topic as solved im convinced that this will be helpful information for developers here with regards, Milos Link to comment Share on other sites More sharing options...
Recommended Posts