AbanteCart Community
AbanteCart Development => API Development => Topic started by: huyhoang08 on March 06, 2016, 12:06:10 AM
-
Today i want to add new form processing controller? example: to save data on my google spreadsheet.
can i able to add new processing controller for form?
please tell me how to do it? thank man.
-
You have 2 ways:
1. to Create your own extension.
2 to create form as content page with your custom html inside
what do you prefer?
-
i hapy to create my own extension, but i don;t know what api for using please guide me a man. Thanks
-
so..
you should to
1. download developer tools for version AbanteCart (just copy this folder (https://github.com/abantecart/developer_tools_extension/tree/master/v1.2/code/extensions/)into your extensions directory) and install it.
2. create your own extension via admin menu and add some storefront controller in the edit form. This controller will be process you form data . Also do not forget to set hook file of your extension. You will need to change some basic page in admin via hooks... for ex form manager edit from page.
3. Also you need to set tpl for your storefront controller.
4. install and enable your own extension and start to develop :)
-
thank you, now i clearly about abantecart docs,