darwinroanja Posted July 19, 2016 Share Posted July 19, 2016 Hello. I 'm new here , I have a question about the development of a module. I am developing a module , which is displayed in the tabs of admin products My question is, how to communicate the Save button with the hookActionProductUpdate function? .. So in this way the data will be saved correctly. Thanks in advance. ps: i'm not english native talker, so excuse me if don't explain clearly Link to comment Share on other sites More sharing options...
Nishith Nesdiya Posted July 20, 2016 Share Posted July 20, 2016 Hello. I 'm new here , I have a question about the development of a module. I am developing a module , which is displayed in the tabs of admin products My question is, how to communicate the Save button with the hookActionProductUpdate function? .. So in this way the data will be saved correctly. Thanks in advance. ps: i'm not english native talker, so excuse me if don't explain clearly Hi.... you can create function with this your module file like as public function hookActionProductUpdate() { $id_product = Tools::getValue('id_product'); $my_var= Tools::getValue('my_var'); //your code here } thanks Link to comment Share on other sites More sharing options...
darwinroanja Posted July 21, 2016 Author Share Posted July 21, 2016 I got the following error. 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