Jump to content

Post code showing in template BUT not required to fill?


Recommended Posts

HI everyone,

 

Version 1.0.6.14 here. Looked for hours and hours for the answer but to no avail.

I'm willing to make post code in the authentication visible and working, BUT NOT required field.

 

Turning post code for country in BO removes the field, which is not what I need to happen. Just editing the authentication.tpl file does not help in any way. Any help appreciated really.

Link to comment
Share on other sites

Try these look for the correct tpl

 

search 

 

<div class="required postcode form-group">

 

just delete required 

 

<div class="postcode form-group">

 

you need to test it because these is a validation just in front I dont know if these is validate on other place

Link to comment
Share on other sites

Chenges in .tpl file only affects looks but doesn't affect the requirement criteria.

I've "walked around this" by simply commenting out the function checking post code validity in Controllers/frontend/authcontroller.php and now it works for me. Thanks for suggestion anyways!

Edited by sting5 (see edit history)
Link to comment
Share on other sites

  • 5 months later...

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...