1. Файл
/themes/тема/authentication.tpl
Удалить подобный код:
Код:
<p class="select">
<span>{l s='Date of Birth'}</span>
<select id="days" name="days">
<option value="">-</option>
{foreach from=$days item=day}
<option value="{$day|escape:'htmlall':'UTF-8'}" {if ($sl_day == $day)} selected="selected"{/if}>{$day|escape:'htmlall':'UTF-8'} </option>
{/foreach}
</select>
{*
{l s='January'}
{l s='February'}
{l s='March'}
{l s='April'}
{l s='May'}
{l s='June'}
{l s='July'}
{l s='August'}
{l s='September'}
{l s='October'}
{l s='November'}
{l s='December'}
*}
<select id="months" name="months">
<option value="">-</option>
{foreach from=$months key=k item=month}
<option value="{$k|escape:'htmlall':'UTF-8'}" {if ($sl_month == $k)} selected="selected"{/if}>{l s="$month"} </option>
{/foreach}
</select>
<select id="years" name="years">
<option value="">-</option>
{foreach from=$years item=year}
<option value="{$year|escape:'htmlall':'UTF-8'}" {if ($sl_year == $year)} selected="selected"{/if}>{$year|escape:'htmlall':'UTF-8'} </option>
{/foreach}
</select>
</p>
2. Файл
/themes/тема/authentication.tpl
после:
Код:
<input type="hidden" name="is_new_customer" id="is_new_customer" value="0">
добавить:
Код:
<input type="hidden" name="city" value="no" />
<input type="hidden" name="postcode" value="000000" />
<input type="hidden" name="address1" value="no" />
<input type="hidden" name="phone" value="700000000" />
<input type="hidden" name="id_country" value="177" />
<input type="hidden" name="id_state" value="320" />
Значения для
id_country и
id_state заменить и удалить код:
Код:
{foreach from=$dlv_all_fields item=field_name}
...
{/foreach}
{if $stateExist eq false}
<p class="required id_state select">
<label for="id_state">{l s='State'}</label>
<select name="id_state" id="id_state">
<option value="">-</option>
</select>
<sup>*</sup>
</p>
{/if}