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)
-   -   How to add a text field to cart for customer code (https://forum.x-cart.com/showthread.php?t=40514)

PostcardMania 06-14-2008 04:24 PM

How to add a text field to cart for customer code
 
What I'd like some pointers on is this:

How to add a text field on the checkout page that would receive customer input such as submitting a code along with the order?

Ideally I'd like for the value to become a part of the customer's record and a part of the data set returned in emails to the customer and to our back end admins.

What templates, what db tables, what includes are involved in this process?

Will someone please provide some pointers or offer some examples. If the issue has already been addressed, just point me in that direction.

Thanks in advance.

balinor 06-14-2008 04:27 PM

Re: How to add a text field to cart for customer code
 
Welcome to the X-Cart forums! Please start by reading the following thread, which will help you get started and hopefully make your experience here a positive one:

http://forum.x-cart.com/showthread.php?t=23970

Please note that this link is not an answer to your question, but we need you to update your signature with your X-Cart version so that we can answer your questions correctly. Thanks! :)

PostcardMania 06-14-2008 07:00 PM

Re: How to add a text field to cart for customer code
 
Thanks for that helpful link. I've added my updated signature to the initial post.

balinor 06-15-2008 05:47 PM

Re: How to add a text field to cart for customer code
 
Thank you. This is actually not an easy template edit, as you'd not only have to add the fields to the templates, but write it into the order functions of the php files as well.


All times are GMT -8. The time now is 06:51 PM.

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