woothemes/woocommerce — Issue #487: "State is a required field." on countries where you can't choose state
Author: feedmeastraycat
Created: 2012-01-11 16:24:22+00:00
State: open

Choosing Sweden, which hides the State drop down, still gives me the error message "State is a required field." when trying to place order.

I tried to locate why. But the none-minified woocommerce.js throws error "woocommerce.js:472 - TypeError: 'undefined' is not a function (evaluating '$('#order_methods, #order_review').block')" so I couldn't try to find where WooCommerce hides the state, to try to find how it knows to hide the state, try to find why it doesn't use the same knowledge in checkout.class.php where it seams like it does the verification. :) Wanted to patch. But came no further at the moment. :(