Phone Validator with Flags for WooCommerce
·
Adds a country flag and phone validation to the WooCommerce checkout phone field. Supports Classic and Block Checkout.
Évaluations
Version
2.0.0
Installations actives
800
Mis à jour récemment
May 25, 2026
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 based on your WooCommerce store location.
- Validating the phone number format before order submission.
- Respecting WooCommerce’s « Selling Locations » settings to limit the list of countries.
- Supporting both Classic Checkout and Block Checkout (introduced in WooCommerce 8+).
- Allowing full customization via a dedicated settings page under WooCommerce → Settings → Phone Validator.
- Supporting the shipping phone field independently from the billing phone field.
Ideal for WooCommerce stores targeting international customers who want to ensure clean, valid phone numbers during checkout.
Have a question or need help? Contact the developer.
Features
- Add country flags and dial codes to the checkout phone field.
- Validate phone numbers in real-time before submission.
- Full support for WooCommerce Block Checkout (Gutenberg).
- Supports billing phone, shipping phone, and My Account phone fields independently.
- Set preferred countries to appear at the top of the dropdown with a visual divider.
- Choose between all countries or only WooCommerce Selling Locations.
- Shipping phone field uses WooCommerce Shipping Locations automatically.
- Inline error messages styled to match WooCommerce notices.
- Respects WooCommerce field validation rules automatically.
- Compatible with WordPress 7 and WooCommerce 10+.
- GDPR-safe – no external APIs, fully self-hosted.
- Compatible with High-Performance Order Storage (HPOS).
- Lightweight and translation-ready.
Libraries Used
This plugin includes the following third-party open source library:
- intl-tel-input v29.0.1 – JavaScript international phone input utility. Source: https://github.com/jackocnr/intl-tel-input License: MIT
