Jump to content

[v6] Default country hardcoded on uer registration


Recommended Posts

Using template "six", inside clientregister.tpl the default country for new client is hardcoded to USA

<option value="{$thisCountryCode}" {if $thisCountryCode eq "US"}selected="selected"{/if}>{$thisCountryName}</option>

I think it should use the default country specified on settings, like it happens if you register making an order (viewcart.tpl):

<option value="{$thisCountryCode}" {if $thisCountryCode eq $clientsdetails.country}selected="selected"{/if}>{$thisCountryName}</option>

 

P.S. I think this is somehow solved in boxes order form:

<option value="{$countrycode}"{if (!$country && $countrycode == $defaultcountry) || $countrycode eq $country} selected{/if}>{$countrylabel}</option>

Edited by egrueda
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated