Jump to content

How To Remove Or Hidden Country From Register Form Ps1.6


Recommended Posts

  • 3 years later...

Replace this in theme/address.tpl
      

     {if $field_name eq 'Country:name' || $field_name eq 'country' || $field_name eq 'Country:iso_code'}
                <div class="required form-group">
                    <label for="id_country">{l s='Country'} <sup>*</sup></label>
                    <select id="id_country" class="form-control" name="id_country">{$countries_list}</select>
                </div>
            {/if}


By this
  

          {if $field_name eq 'Country:name' || $field_name eq 'country' || $field_name eq 'Country:iso_code'}
                <div class="form-group">
                    <label class="hidden" for="id_country">{l s='Country'} <sup>*</sup></label>
                    <select id="id_country" class="form-control hidden" name="id_country">{$countries_list}</select>
                </div>
            {/if}

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...