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

Possible to add a field to customer checking form?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-22-2004, 07:37 AM
 
fmaestas fmaestas is offline
 

Newbie
  
Join Date: Jan 2004
Location: Aurora CO
Posts: 5
 

Default Possible to add a field to customer checking form?

(an X-Cart newbie)

Hello,
I need to add "Job Title" and make "Company" a required field on the checkout form. Not necessary to add them to the database, but would like these printed out on the invoices. Possible to do?

Any tips appreciated.

- Frank M.
Reply With Quote
  #2  
Old 01-23-2004, 05:38 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

you could make use of the redundant ssn field to add job title

uncomment it in register.tpl

and then update it in the languages area
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 01-23-2004, 06:24 AM
 
fmaestas fmaestas is offline
 

Newbie
  
Join Date: Jan 2004
Location: Aurora CO
Posts: 5
 

Default

Would that be the register.tpl in Admin/Main?
(using X-Cart 3.5.1)

Have uncommented the following:
<TR valign=middle>
<TD align=right>{$lng.lbl_ssn}</TD>
<TD></TD>
<TD nowrap>
<INPUT type=text name=ssn size=32 maxlength=32 value="{$userinfo.ssn}">
</TD>
</TR>

And changed the Label in the languages area, changed to "Job Title".
Saved both, but still do not see the new field.

Thanks!
Reply With Quote
  #4  
Old 01-24-2004, 04:52 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

if you add your version number to your forum signature it helps answer the question as things change from version to version.

do this by clicking on profile link

as of 3.5.x the registration was split into smaller files.

you will need to look at

skin1/main/register_personal_info.tpl
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
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 01:56 PM.

   

 
X-Cart forums © 2001-2020