X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Inserting new field to submit upon order (https://forum.x-cart.com/showthread.php?t=21685)

andholt 05-10-2006 06:35 PM

Inserting new field to submit upon order
 
For the products we sell, we require that the user agree to our Disclaimer. This forum got me going on a template addition to disable the Submit Order button until the user types "agree" into a text field under some agreement text, but now we want to store this text in the database to have proof that they did indeed enter their agreement (in case someone has JS disabled).

So basically, I just want to insert the text in that text field into the database when the order is submitted. I'm very MySql/PHP savvy, but I'm not sure which php file actually inserts order info into the DB. Where would I go to add this insertion?

Thanks!

balinor 05-10-2006 07:08 PM

A similar solution here:

http://forum.x-cart.com/viewtopic.php?t=20888

andholt 05-11-2006 08:43 AM

Quote:

Originally Posted by balinor


Thanks for the link, but I already have the disabled Submit Order button working, I just need to find the file that inserts all submitted order info into the db. Any ideas?

Thanks again!

andholt 05-12-2006 01:32 AM

Does anyone know which php file is used to insert the submitted order info into the db?


All times are GMT -8. The time now is 12:24 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.