| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Additional fields in Customer Info & Checkout | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I need to add a field to the customer info (client wants day and night phone numbers). I also have to add a comments field to the checkout process for the person ordering to enter comments outside the normal ordering info that always seems to crop up.
The first one needs to be added to the database and the second one just needs to be included in the form and then sent with the email order. Any suggestions would be appreciated. Thanks, G. |
|||||||
#2
|
|||||||
|
|||||||
![]() Just received this from the X-Cart crew (Vasily Karyaev, Technical support engineer)
You should do the following: 1. Create yet another filed 'phone2' in the 'xcart_customers' table. 2. Add the following lines to the 'skin1/main/register.tpl' template: <tr valign=middle> <td align=right>Second phone</td> <td><font class=Star>*</font></td> <td nowrap> <input type=text name=phone2 size=32 maxlength=32 value="{$userinfo.phone2}"> {if $reg_error ne "" and $userinfo.phone2 eq ""}<font class=Star><<</font>{/if} </td> </tr> 3. Modify the 'include/register.php' script. |
|||||||
|
|||
X-Cart forums © 2001-2020
|