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)
-   -   Possible to add a field to customer checking form? (https://forum.x-cart.com/showthread.php?t=6153)

fmaestas 01-22-2004 07:37 AM

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.

shan 01-23-2004 05:38 AM

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

fmaestas 01-23-2004 06:24 AM

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!

shan 01-24-2004 04:52 AM

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


All times are GMT -8. The time now is 05:13 PM.

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