BACK TO DIRECTORY

Phone Validator with Flags for WooCommerce

by Mokhtar Bensaid

5.0
(9 ratings)

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

Screenshots

Enhanced checkout phone field with country flag and dial code.

Enhanced checkout phone field with country flag and dial code.

Enhanced Account addresses phone field with country flag and dial code.

Enhanced Account addresses phone field with country flag and dial code.

Plugin settings page part 1 under WooCommerce → Settings → Phone Validator .

Plugin settings page part 1 under WooCommerce → Settings → Phone Validator .

Plugin settings page part 2 under WooCommerce → Settings → Phone Validator.

Plugin settings page part 2 under WooCommerce → Settings → Phone Validator.

Plugin Details

Active Installs
1K+
Total Downloads
5,029
Version
2.0.0
Requires WP
6.8
Requires PHP
7.4
Tested Up To
6.9.7
Added
2025-07-12
Last Updated
2026-05-25 6:08am GMT

Ratings

5
9
4
0
3
0
2
0
1
0