Troubleshooting
The flag dropdown doesn’t show on Block Checkout#
The Phone field must be switched on in the Checkout block. See Block Checkout Setup. The Smart Phone Field settings page shows a notice when it’s off.
The flag dropdown doesn’t show anywhere#
- Clear your page cache, any optimization plugin cache and your CDN cache.
- Check that a performance plugin isn’t delaying or combining the plugin’s scripts. Exclude Smart Phone Field’s scripts from delay and combine options.
- Open the page in a private window and check the browser console for errors.
- Check that your license is active under WooCommerce > Smart Phone Field > License, and that you’re on the latest version.
The field looks broken#
Some themes style every button, text box and list on the page. Version 1.2.1 protects the shortcode and live demo from this. On checkout, add CSS in your theme to correct the field, or contact support.
A valid number is rejected#
Check that the flag matches the country the number belongs to. If you want to accept any number, turn off Check phone numbers in the General tab.
Every visitor gets the same country#
You’re probably behind a CDN or proxy. Set Visitor IP address to Automatic, or use the CDN or hosting headers method. See CDN Proxy and Visitor IP.
The country isn’t pre-selected#
- Check that Detect visitor location is on.
- If the billing country is already filled in, the flag follows it instead.
- A lookup that takes longer than 2 seconds falls back to your store’s country.
- The result is remembered for a day, so test in a private window after changing settings.
Numbers show without spaces#
Turn on Readable phone numbers in the General tab.
The WhatsApp button is missing#
It shows only when the order has a phone number, and only when WhatsApp button on orders is on.
A form stopped working after a form plugin update#
Form plugin support is in beta. Turn the form plugin’s switch off under Integrations and contact support so we can update it.
Still stuck?#
Fill out the support form at smartphonefield.com. Include your WordPress, WooCommerce and Smart Phone Field versions, your theme, and the page where it happens.