View Single Post
  #2  
Old 06-30-2003, 05:36 AM
 
Jerry Jerry is offline
 

Member
  
Join Date: May 2003
Location: Santa Rosa, CA
Posts: 18
 

Default

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>&lt;&lt;</font>{/if}
</td>
</tr>

3. Modify the 'include/register.php' script.
Reply With Quote