abolfazl-m Posted December 20, 2015 Share Posted December 20, 2015 hi i need to remove or hidden country fieled from register form. please help me i use prestashpop 1.6 Link to comment Share on other sites More sharing options...
SupportPS Posted December 20, 2015 Share Posted December 20, 2015 Hello Write a link to your site Link to comment Share on other sites More sharing options...
abolfazl-m Posted December 20, 2015 Author Share Posted December 20, 2015 my site: www.iroption.com Link to comment Share on other sites More sharing options...
El Patron Posted December 20, 2015 Share Posted December 20, 2015 back office-->localization-->countries disable the countries you do now ship to. or back office-->localization-->countries scroll to the bottom, here you can tell PS only to display countries that you have shipping defined (best option) Link to comment Share on other sites More sharing options...
abolfazl-m Posted December 25, 2015 Author Share Posted December 25, 2015 i want to remove country or hidden from register form ! Link to comment Share on other sites More sharing options...
SupportPS Posted December 26, 2015 Share Posted December 26, 2015 read http://www.hostknox.com/clients/knowledgebase/474/How-to-remove-the-Company-field-from-the-registration-form-and-from-the-customer-account-settings-in-PrestaShop.html also you need delete required class for country Link to comment Share on other sites More sharing options...
Solver Posted July 5, 2019 Share Posted July 5, 2019 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now