Code

WooCommerce international phone input

WooCommerce international phone input

(15) 5.00 stars
580 Sales

This plugin can be used for for easy phone number input when buying goods in WooCommerce with using flags of countries. Consist the option to set country automatically (using client IP address) and phone number validation. To start plugin work – you only need to activate it. It’s really simple.

WP eCommerce version: Link

Gravity Forms addon: Link

Features:

  • Comfortable usability via admin panel
  • Works with any woocommerce theme
  • Cross browser compatibility
  • No coding required

Available Filters: Show preferred countries:

add_filter('wpi_preferred_countries', function(){
    return ['ua', 'us'];
 });
v. 2.0.3 26/04/2020
- preferred countries filter added

v. 2.0.2 18/02/2020
- compatibility fixes
- in_array() warning fixed
- localization fixes

v. 2.0.1 20/02/2019
- 'set default country' setting added
- fixed bug when validation message overlaps
- WooCommerce 3.5 compatibility fixes
- localization updated

v. 2.0 17/08/2018
- WooCommerce 3.4 compatibility fixes
- localization updated
- added "shipping" and "billing" phone number validation
- set country automatically by using client IP feature fixed (curl library is not required anymore)
- added ability to set Custom validation success and/or fail messages

v. 1.4.5 07/08/2017
- bug fixes
- localization fixes
- ua, de languages added

v. 1.4.1 13/04/2017
- fixed phone back-end validation 

v. 1.4 06/02/2017
- compatibility update
- front-end, back-end phone validation added

v 1.3.2 - 07/11/2016
- compatibility update
- "auto set flag" feature fix 

v 1.3.1 - 26/05/2016
- compatibility update
- "show only selected countries" feature added

v 1.3 - 04/05/2016
- compatibility update
- ru localization added

v 1.2 - 03/11/2015
- compatibility update

v 1.1 - 19/04/2015
- new flags has been added
- flags icons has been updated
- localization issues fixed
- browsers compability has been updated

v 1.0.2 - 17/10/2014
- phone validator updated

v 1.0.1 - 24/09/2014
- css minor fix
- "get by ip" bug fix by using https

v 1.0 - 07/06/2014
- First stable release
by
by
by
by
by
by