Jump to content

Hooking action to button submiting cart


Recommended Posts

Hello.

 

I wish to extend my cart form, as: when user click button submiting his cart, providing him a site with delivery, payment etc. I wish to send additonal data, i guess hook into this action, but the tricky thing is, i have additional inputs in cart where my client set custom delivery dates for his products:

 

Cart

-----------------

Product#1

Calendar#1 -> (data going to hidden input here)

Product#2

Calendar#2-> (data going to another hidden input here)

 

Something like that, i just want to send this data from hidden inputs to my very special table in mysql, i know how to pass this data using Database object and how to hook, i just need to know how i can pass this data when user clicks button, perhaps as POST? Im open to ideas (i need to pass order ID to database with this data to show products in order page on back-end)

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...