View Single Post
  #1  
Old 01-16-2004, 12:09 PM
 
Jeremy Denton Jeremy Denton is offline
 

Member
  
Join Date: Nov 2003
Location: Detroit, MI
Posts: 21
 

Default editing "country" in my register.tpl

At this time I do not offer international shipping. The problem is, I keep getting customers from other countries registering. I would like my register page to default to United States.

How can I rewrite the code to fix that?

Here is the code for "country" in Register.tpl

Quote:
<tr valign=middle>
<td align=right>{$lng.lbl_country}</td>
<td><font class=StarStyle>*</font></td>
<td nowrap>
<select name=b_country>
{section name=country_idx loop=$countries}
<option value={$countries[country_idx].country_code} {if $userinfo.b_country eq $countries[country_idx].country_code}selected{elseif $countries[country_idx].country_code eq #default_country# and $userinfo.b_country eq ""}selected{/if}>{$countries[country_idx].country}</option>
{/section}
</select>
</td>
</tr>
__________________
Jeremy Denton
248.342.9962
www.Wolverinesden.com

Xcart Version 3.4.4 (yes I\'ll be upgrading soon)
Unix.
Reply With Quote