Jump to content

[solved] How to change label name ("State" and "Country") in registration form


reinl07

Recommended Posts

Hi guys,

 

i have a problem to change label name of state and country in registration form and customer account settings.

 

I tried to edit them from authentication.tpl , address.tpl , address. but i've no idea why it wasn't change.

 

{elseif $field_name eq "State:name" || $field_name eq 'state'}
                        {assign var='stateExist' value=true}
                        <p class="required id_state select form-group">
                            <label for="id_state">{l s='State'} <sup>*</sup></label>
                            <select name="id_state" id="id_state" class="form-control">
                                <option value="">-</option>
                            </select>
                        </p>
                    {/if}

 

i changed that bold word in (authentication.tpl line 589)

 

{if $field_name eq 'State:name'}
                {assign var="stateExist" value=true}
                <div class="required id_state form-group">
                    <label for="id_state">{l s='State'} <sup>*</sup></label>
                    <select name="id_state" id="id_state" class="form-control">
                        <option value="">-</option>
                    </select>
                </div>
            {/if}

 

(address.tpl line 119)

 

Can anybody help me?

Thanks

 

 

Link to comment
Share on other sites

No no, i need to change the title of the options ("State") to ("Sub District") and ("country") to ("District").

 

Because in my country the shipping carriers need the information of the location of Customer Sub Districts, to know what price of shipping cost must be paid by customers.

 

I slightly modified the method of shipping costs, Sub District equal Zones.

 

i do not need the country field, because i only sell domestically. :)

 

it's difficult or not?

 

Thank you El Patron for your help.

Link to comment
Share on other sites

  • 2 months later...
×
×
  • Create New...