Coder Social home page Coder Social logo

jarrydlong / pmpro-state-dropdowns Goto Github PK

View Code? Open in Web Editor NEW

This project forked from strangerstudios/pmpro-state-dropdowns

0.0 1.0 0.0 223 KB

Turns the state field at checkout and on the edit profile screens into a dropdown that autopopulates based on the selected country.

Home Page: https://www.paidmembershipspro.com/add-ons/state-dropdown/

JavaScript 33.00% PHP 67.00%

pmpro-state-dropdowns's Introduction

=== 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

pmpro-state-dropdowns's People

Contributors

andrewlimaza avatar ideadude avatar jarrydlong avatar mircobabini avatar ipokkel avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.