Country Flag and Dial Code Dropdown
Every phone field gets a flag button on the left, with the country’s dial code shown beside it (for example +44). Customers always see which prefix their number will have.
Choosing a country#
Click the flag to open the country list. Each country shows its flag, name and dial code. Start typing to search. Pick a country and the flag and dial code update.
Your preferred countries sit at the top of the list, with a divider under them. See Setting Preferred Countries.
On phones and tablets#
On touch devices the country list opens as a pop-up in the middle of the screen, with a title, a search box, large tap targets and a Close button. Screen readers announce it as a dialog, and keyboard focus stays inside it while it’s open.
Which countries show#
By default every country is listed. In WooCommerce > Smart Phone Field > Countries you can:
- pin up to 4 preferred countries to the top
- show only certain countries
- hide certain countries
Changing the look#
The highlighted country and the list’s scrollbar use your accent color. See Customizing the Accent Color.
