Block Checkout Setup
The WooCommerce Checkout block only shows a phone field when you switch it on. Once it’s on, Smart Phone Field adds the flag dropdown to it automatically. There’s nothing else to set up.
Switch on the Phone field#
- Go to Pages and edit your Checkout page.
- Click the Checkout block, or one of its address blocks, so its settings open in the sidebar.
- Find the address field options and set Phone to Optional or Required.
- Save the page.
The exact wording in the sidebar comes from WooCommerce and can change between WooCommerce versions.
Check it#
Open the checkout in a private window. The phone field should show a flag and dial code, with the label Phone number inside the box like the other fields.
If the Phone field is off, the Smart Phone Field settings page shows a notice to remind you.
How it works#
Smart Phone Field adds the flag dropdown to WooCommerce’s own billing and shipping phone fields in the block. The number is saved as the normal order phone, in international format like +12015550123, so emails, the order screen and SMS plugins all see it.
Before version 1.1.0 the plugin added its own separate phone field to the block. That field is gone, and the number now goes into WooCommerce’s normal phone fields.
The field still not showing? See Troubleshooting.