News:

AbanteCart v1.4.2 is released.

Main Menu
support

form processing controller?

Started by huyhoang08, March 06, 2016, 12:06:10 AM

Previous topic - Next topic

huyhoang08

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.

abolabo

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?
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

huyhoang08

i hapy to create my own extension, but i don;t know what api for using please guide me a man. Thanks

abolabo

so..
you should to
1. download developer tools for version AbanteCart (just copy this folder 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 :)
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

huyhoang08

thank you, now i clearly about abantecart docs,

Forum Rules Code of conduct
AbanteCart.com 2010 -