Jump to content
Shopify

Remove required field State

Recommended Posts

Hi

How can I remove the required field State at the registration site? 

We do not need States in my country.

When I look at Localization -> Countries and Edit myCountry (Denmark) it has no requirements on State - why is it then on my registration page?

And how do I get it invisible again - (It was fine a few months ago)

Thanx in advance

 

Location - Countries Settings.JPG

Share this post


Link to post
Share on other sites

Is it the Theme that makes trouble 

See the the field is wrapped with:
<div class="required id_state form-group unvisible" style="display: block;"> == $0

how come is it visible, still? What is going wrong?

 

thx

image.png

Share this post


Link to post
Share on other sites

Any hints, please? This is annoying - it's like the browser show things that shouldn't be seen - what could be wrong?

Share this post


Link to post
Share on other sites

I just an hour ago found out that if I change the Directory in the chosen Theme to default.bootstrap the State field disappears!

How can I make it work for the chosen Theme/template?

web-butik_pref_themes_adv settings_dir_default-bootstrap - SETTINGS.JPG

Edited by Shopify
Added a picture (see edit history)

Share this post


Link to post
Share on other sites

contact your theme developer else you will need to change the theme yourself

Share this post


Link to post
Share on other sites

Thank you El Patron.
I have tried to change without an appearance result.

As a total Presta-newbie I still haven't found the logic how this engine works - a changed address.tpl or authentication.tpl file shows no visual effect in browser. 😢

As Presta-newbie I haven't dared to reinstall the theme - as I,  for sure, don't know the impact it can have on the rest of the site.

Can a Theme-install go wrong? and is it always reversible?

Share this post


Link to post
Share on other sites
6 hours ago, Shopify said:

Thank you El Patron.
I have tried to change without an appearance result.

As a total Presta-newbie I still haven't found the logic how this engine works - a changed address.tpl or authentication.tpl file shows no visual effect in browser. 😢

As Presta-newbie I haven't dared to reinstall the theme - as I,  for sure, don't know the impact it can have on the rest of the site.

Can a Theme-install go wrong? and is it always reversible?

Hi, create a copy of your shop that you can test with.  This way you can make changes on test that you can confidently move to production.  Most new and sometimes established shops have been destroyed applying change to production.  

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More