Blog

Magento Fix when upgrade to 1.7 and State drop down does not appear in IE 8, IE 7, etc.

Replace the following code in form.js

if (this.regionSelectEl.options.add) {
this.regionSelectEl.options.add(option);
} else {
this.regionSelectEl.appendChild(option);
}

with:

if (this.regionSelectEl.options.length > 0 && option.value.length > 0 && option.text.length > 0 && this.regionSelectEl.options.add){
//~ this.regionSelectEl.options.add(option);
this.regionSelectEl.appendChild(option);
} else {
this.regionSelectEl.appendChild(option);
}

Leave a Reply

Contact us today! Let's talk about how we can help grow your business.

Contact Us