forked from strangerstudios/pmpro-state-dropdowns
-
Notifications
You must be signed in to change notification settings - Fork 0
Turns the state field at checkout and on the edit profile screens into a dropdown that autopopulates based on the selected country.
arquera/pmpro-state-dropdowns
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
=== Paid Memberships Pro - State Dropdowns Add On === Contributors: strangerstudios Tags: paid memberships pro, pmpro, states, counties, provences Requires at least: 4 Tested up to: 5.4 Stable tag: 0.2 Converts state fields on the checkout, edit profile and order pages to dropdowns autopopulated based on the selected country. == Description == Converts state fields on the checkout, edit profile and order pages to dropdowns autopopulated based on the selected country. PMPro State Dropdown field integrates with the following areas in Paid Memberships Pro: * Billing fields (Checkout, edit user and orders page) * Shipping Address on Membership Checkout add-on: https://www.paidmembershipspro.com/add-ons/shipping-address-membership-checkout/ == Installation == 1. Make sure you have the Paid Memberships Pro plugin installed and activated. 1. Upload the `pmpro-state-dropdowns` directory to the `/wp-content/plugins/` directory of your site. 1. Activate the plugin through the 'Plugins' menu in WordPress. == Frequently Asked Questions == = I found a bug in the plugin. = Please post it in the GitHub issue tracker here: https://github.com/strangerstudios/pmpro-state-dropdowns/issues = I need help installing, configuring, or customizing the plugin. = Please visit our premium support site at https://www.paidmembershipspro.com for more documentation and our support forums. = The state fields are not showing correctly for pre-existing users = Existing users that have entered their State/Province before using this add-on may be required to update their profile while PMPro State Dropdowns is activated. This is usually caused by incorrect spelling of the State/Province. (This only affects the front-end of your site and won't affect the previously saved user meta) = Some States/Provinces are missing or incorrect from the State/Province dropdown = Not all countries may be fully supported regarding the State/Province list. If you find a fault with your country's State/Province list, please post it in the GitHub issue tracker here: https://github.com/strangerstudios/pmpro-state-dropdowns/issues == Changelog == = 0.3 - 2021-02-12 = * BUG FIX: Fixed a warning where $order variable wasn't present in certain cases like the profile page. * BUG FIX/ENHANCEMENT: Fixed Italy state codes from numeric to 2 Letter ISO codes. @mircobabini * ENHANCEMENT: Added in localization and default .pot file. * ENHANCEMENT: Sanitize values where possible. * ENHANCEMENT: Updated Country Region Selection library to latest version. = 0.2 - 2020-04-09 = * BUG FIX: Fixed issue where state dropdown fields weren't showing/working on billing page. * BUG FIX: Fixed issue where fields weren't being added to the correct location on the checkout page via JavaScript. = .1 = * Initial Release
About
Turns the state field at checkout and on the edit profile screens into a dropdown that autopopulates based on the selected country.
Resources
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- PHP 67.0%
- JavaScript 33.0%