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>
|