2 replies [Last post]
qazwsx's picture
Offline
Joined: 05/28/2009
Juice: 58
Was this information Helpful?

Hi I was wondering if there was a way to have Ubercart INSERT SQL into a separate database so someone can purchase items in a database. I know there is already something for them to purchase accounts something like that but instead of making an account it inserts the SQL you tell it to for each product.

Thanks

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: MySQL database connection and INSERT?

You're going to have to write a custom module to handle that. You can hook into the checkout process using Ubercart's hooks, or you could write a custom CA action for it. There's nothing that will help you build this without code, though.

qazwsx's picture
Offline
Joined: 05/28/2009
Juice: 58
Re: Re: MySQL database connection and INSERT?

oh ok yeah I'm not advanced enough to do that thanks tho.