Jump to content

Send query when "Add to Cart" is clicked


tim8nime

Recommended Posts

I need to be able to send a query when "add to cart" is clicked. My end goal is to insert data into a custom table I created in the database.

This is part of a larger goal: The ability to make payments over time. (i.e. the user wants to pay for the product at 3 payments of $29.99)

I could think of some ways to hack this together, but I want some advice on the best (and safest) way to do this.

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...