Jump to content

"State" field missing in registration


Recommended Posts

It searched around and it looks like it's a problem that popped up in the past but was supposedly fixed.

 

I'm using 1.4.6.2 and the new Presta 1.4.5 theme. In IE9 and Firefox everithing is peachy, but bad old IE8 is missing the "State" field when customers try to register an acount. That's a little disheartening, when 30% of people on the internet are supposedly still hanging on IE8.

 

Anyone else having this issue or a solution for it?

Link to comment
Share on other sites

  • 3 weeks later...

In your_shop/themes/your_theme/authentication.tpl

 

At the line 33 until 35 replace:

countries = new Array();

countriesNeedIDNumber = new Array();

countriesNeedZipCode = new Array();

 

with

 

var countries = new Array();

var countriesNeedIDNumber = new Array();

var countriesNeedZipCode = new Array();

Link to comment
Share on other sites

  • 9 months later...

I found this solution (added to the var one):

 

go to su domain.com/theme/default/js/statesManagement.js comment this line (nr.36):

[to comment put // before the word "console"]:

 

Before:

console.log($('select#id_

state'+(suffix !== undefined ? '_'+suffix : '')+' option:not(:first-child)'));

 

After:

 

//console.log($('select#id_

state'+(suffix !== undefined ? '_'+suffix : '')+' option:not(:first-child)'));

 

it works for me! Happy to share!

 

Luca.

Link to comment
Share on other sites

×
×
  • Create New...