Search Over 18,000 FREE Plugins from the Official WordPress Plugin Directory Repository

eShop Checkout Dynamic States

Dynamically load correct State/County/Province in Checkout forms according to selected country.

Improve your customer's experience by showing the appropriate State/County/Province when the Country field is changed.

If the selected country does not have any regions in the database, replace the dropdown with a text field.

Comes out of the box with US and Brazilian States, and Canadian Provinces. Additional countries/regions can be found here.

For best results, use with eShop Shipping Extension.

Author Vinny Alves
Profile
Contributors useStrict
Tags Checkout Form, Dynamic State County Province, eshop
  1. eshop-checkout-dynamic-states screenshot 1

    Alternate State field is removed, as it is no longer necessary. If a user selects a country for which there are States/Counties/Provinces in the database, then a drop-down is presented.

  2. eshop-checkout-dynamic-states screenshot 2

    If no data exists in the database, then a text input field is presented to the user instead.

  1. Upload eshop-checkout-dynamic-states.zip to your blog's wp-content/plugins directory;
  2. Activate the plugin in your Plugin Admin interface;

1.3.3

  • Fixed typo in previous commit which messed up shipping states.
  • Making sure that the session is started.

1.3.2

  • Saving state/shipstate state with $.totalStorage. Clicking the back button no longer forces the user to re-select the state.

1.3.1

  • Using state ID for dropdown values instead of code;
  • Improved state/altstate field logic to play nicely with eShop;

1.3

  • Now using eShop's country/state tables in order to play nicely with taxes. Users will have to manually set the zones that they want for any new countries/states

1.2.1

  • Removed FK name of states table due to possible naming conflicts.
  • Replaced dbDelta with $wpdb->query

1.2

  • Modified primary key of states table as it was failing to add a few states.

1.1

  • Maintaining state when a user submits the checkout form with missing required fields.

1.0.1

  • Fixed a typo setting state_code field size

1.0

  • Initial release

Where can I get additional countries/regions?

  • Additional countries/regions can be found here.
Share  
Download
Version 1.3.3

Requires WordPress version: 3.0 or higher

Compatible up to: 3.5.1

Last Updated 22 Jan 2013

Date Added: 03 Sep 2012

Plugin Homepage

Evaluation
star1
star2
star3
star4
star5

5 stars
1 ratings
1,029 downloads

Compatibility

Not Enough Data

Reports:
Works: 1
Broken: 0