Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

How to add a text field to cart for customer code

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-14-2008, 04:24 PM
  PostcardMania's Avatar 
PostcardMania PostcardMania is offline
 

Newbie
  
Join Date: May 2008
Location: Tampa Bay
Posts: 7
 

Default 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.
__________________
Eric
Dir. of Internet Services
PostcardMania, an Inc. 500 Company

Visit
http://www.postcardmania.com for all your direct mail marketing needs!

X-Cart Version 4.1.10

Last edited by PostcardMania : 06-14-2008 at 06:59 PM. Reason: adding signature to post
Reply With Quote
  #2  
Old 06-14-2008, 04:27 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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!
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 06-14-2008, 07:00 PM
  PostcardMania's Avatar 
PostcardMania PostcardMania is offline
 

Newbie
  
Join Date: May 2008
Location: Tampa Bay
Posts: 7
 

Default 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.
__________________
Eric
Dir. of Internet Services
PostcardMania, an Inc. 500 Company

Visit
http://www.postcardmania.com for all your direct mail marketing needs!

X-Cart Version 4.1.10
Reply With Quote
  #4  
Old 06-15-2008, 05:47 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:02 AM.

   

 
X-Cart forums © 2001-2020