sjaakie3 Posted October 20, 2014 Share Posted October 20, 2014 I want my Gitlab installation to recieve the details when a new customer is created at my Prestashop site. The 'recieving' end is working and tested. But the PS site not. How do I bind to an event as 'newcustomer' so that I can call the Gitlab service? The documentation did not help me at all, and a list of events is not to be found either. Link to comment Share on other sites More sharing options...
PrestaShopDeveloper Posted October 20, 2014 Share Posted October 20, 2014 The "events" in PrestaShop are called hooks:http://doc.prestashop.com/display/PS15/Hooks+in+PrestaShop+1.5 The hook you need is called "actionCustomerAccountAdd" (PS 1.5 & 1.6) or "createAccount" (PS 1.4) When you implement it note that you will have 2 params:_POST - with all the post variables during creation newCustomer - with the object of the customer (instance of class Customer) Link to comment Share on other sites More sharing options...
sjaakie3 Posted October 20, 2014 Author Share Posted October 20, 2014 (edited) The "events" in PrestaShop are called hooks: Wow, thank you ! This helps a lot, do you have by any chance a list of all the 'hooks' and parameters for Prestashop 1.6? Found this too: http://www.prestashop.com/forums/topic/242162-customer-info-update-hook/ but no real answer there either for 1.6 Edited October 20, 2014 by sjaakie3 (see edit history) 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