Phone Validator with Flags for WooCommerce

Phone Validator with Flags for WooCommerce enhances the billing phone field on the checkout page by:

  • Displaying a dropdown with country flags and dial codes.
  • Auto-detecting the default country or letting the customer choose.
  • Validating the phone number format in real-time.
  • Respecting WooCommerce’s “Selling Locations” settings to limit the list of countries.

Ideal for WooCommerce stores targeting international customers who want to ensure clean, valid phone numbers during checkout.

Features

  • ??? Add country flags and dial codes to the checkout phone field.
  • ? Validate phone numbers in real-time before submission.
  • ?? Supports only countries enabled in WooCommerce Selling Locations.
  • ?? GDPR-safe and does not rely on any external APIs.
  • ?? Compatible with High-Performance Order Storage (HPOS).
  • ?? Lightweight and fully self-contained.
  • ?? Translation-ready.

Libraries Used

This plugin includes the following third-party open source library:

  • intl-tel-input – JavaScript international phone input utility.
    Source: https://github.com/jackocnr/intl-tel-input
    License: MIT
0

评论0

 
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
显示验证码
没有账号?注册  忘记密码?

社交账号快速登录