capn3m0 Posted December 4, 2012 Share Posted December 4, 2012 Hi all, i'm a new user of Prestashop and i have to customize some features. I produce a modules that includes all the modify requested me but i need now a hooks that isn't present in the default hooks of Prestashop. I change the Customer Group checking Nation of the shipping address and the presence of the vat number. I user the hooks actionCustomerAccountAdd for doing this when a customer register to the site. I have to do the same things also when the customer change his address. My function do this just taking in input the id_customer. Where i can place a new hooks for monitoring every customers address change? address.tpl? addresses.tpl? Thanks BR capn3m0 Link to comment Share on other sites More sharing options...
mauroagr Posted August 30, 2013 Share Posted August 30, 2013 Hi, You solve this question? what you make? I need the same! thanks Mauro Link to comment Share on other sites More sharing options...
jgullstr Posted August 30, 2013 Share Posted August 30, 2013 Hello, There are no hooks that handle addresses atm. In order to do additional processing you will have to override the AddressController's processSubmitAddress() method. More about overrides can be found here: http://doc.prestashop.com/display/PS15/Overriding+default+behaviors Link to comment Share on other sites More sharing options...
vekia Posted August 31, 2013 Share Posted August 31, 2013 that's right, there is no action hook to handle modules after "customer address change", you can only modify the controllers mentioned above by jgullstr 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