Phone Validator with Flags for WooCommerce

Phone Validator with Flags for WooCommerce

Details
View on WordPress

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

Details

Plugin code:
phone-validator-with-flags-for-woocommerce
Plugin version:
1.2.0
Outdated:
No
WP version:
6.5 or higher
PHP version:
7.2 or higher
Test up to WP version:
6.8.2
Total installations:
700
Last updated:
2025-08-20
Rating:
Times rated:
6
checkout
country-flags
phone-field
phone-validation
woocommerce