
Phone Validator with Flags for WooCommerce
by Mokhtar Bensaid on WordPress.org

Enhanced checkout phone field with country flag.
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
Active installations70+
Weekly downloads
122+84.85%
Version1.2.0
Last updated8/20/2025
WordPress version6.5
Tested up to6.8.2
PHP version7.2
Tags
checkoutcountry flagsphone fieldphone validationwoocommerce