Jump to content

Campo provincia antes que pais


chemamor

Recommended Posts

Tienes que tocar el fichero:

/themes/plantilla/authentication.tpl

para el formulario de registro.

 

Y para el formulario de modificar dirección:

/themes/plantilla/address.tpl

----

-----

---

 

Para el instantáneo:

 

Fichero:

/themes/plantilla/order-opc-new-account.tpl
Link to comment
Share on other sites

He puesto el código del estado (provincia) antes que el del pais y no se cambia el campo. En el fichero order-opc-nex.account.tpl. Estoy probando primero el instantáneo.

 

{elseif $field_name eq "city"}
<p class="required text">
<label for="city_invoice">{l s='City'} <sup>*</sup></label>
<input type="text" class="text" name="city_invoice" id="city_invoice" value="{if isset($guestInformations) && $guestInformations.city_invoice}{$guestInformations.city_invoice}{/if}" />
</p>
                    {elseif $field_name eq "state" || $field_name eq 'State:name'}
{$stateExist = true}
<p class="required id_state_invoice select" style="display:none;">
<label for="id_state_invoice">{l s='State'} <sup>*</sup></label>
<select name="id_state_invoice" id="id_state_invoice">
<option value="">-</option>
</select>
</p>
{elseif $field_name eq "country" || $field_name eq "Country:name"}
<p class="required select">
<label for="id_country_invoice">{l s='Country'} <sup>*</sup></label>
<select name="id_country_invoice" id="id_country_invoice">
<option value="">-</option>
{foreach from=$countries item=v}
<option value="{$v.id_country}"{if (isset($guestInformations) AND $guestInformations.id_country_invoice == $v.id_country) OR (!isset($guestInformations) && $sl_country == $v.id_country)} selected="selected"{/if}>{$v.name|escape:'htmlall':'UTF-8'}</option>
{/foreach}
</select>
</p>
Link to comment
Share on other sites

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