Phone Validator with Flags for WooCommerce

plugin banner

Adds a country flag and phone validation to the checkout phone field.

Author:Mokhtar Bensaid (profile at wordpress.org)
WordPress version required:6.5
WordPress version tested:6.8.2
Plugin version:1.2.0
Added to WordPress repository:12-07-2025
Last updated:20-08-2025
Rating, %:100
Rated by:6
Plugin URI:
Total downloads:2 130
Active installs:600+
plugin download
Click to start download

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

Screenshots
FAQ
ChangeLog