This topic has 4 replies, 3 voices, and was last updated 33 minutes ago ago by Andrew Mitchell
Good day, after updating the checkout page it seems to be autofiling a random customers details on the checkout page for all users π
Please could you assist in helping me fix this
Hello, @Tamara,
Thank you for contacting us and for using XStore.
1. Geolocation Settings in WooCommerce
WooCommerce has a built-in geolocation feature that detects a userβs location based on their IP address. This can automatically pre-fill the country and sometimes even the state in the checkout form.
Where to check these settings?
Go to WooCommerce > Settings > General.
Look for the Default Customer Location setting.
Options here include:
No location by default: Nothing is pre-filled.
Shop base address: Defaults to the shopβs base country/state.
Geolocate: Detects the customerβs location via IP.
Geolocate (with page caching support): Same as Geolocate but optimized for cached pages.
If set to Geolocate, WooCommerce tries to guess the country and sometimes the state, depending on the IP databaseβs accuracy.
How to Prevent Automatic State Selection:
If you donβt want WooCommerce to pre-select the state:
1/ Disable Geolocation:
Set Default Customer Location to βNo location by defaultβ or βShop base address.β
Save changes.
2/ Remove Default State via Code: Add the following snippet to your themeβs functions.php file:
add_filter('default_checkout_state', '__return_empty_string');
This will ensure that the state field remains empty by default.
We hope this helps. Should you require any further assistance, please do not hesitate to reach out. We are here to help you.
Best regards,
8Themeβs Team
Thank you kindly for your super fast response – It seems it was a silly mistake from my side (tried to use elementor add a notice – once reverting back to wordpress editor for the checkout page all was restored).
Dear Tamara,
We trust our theme is enhancing your experience. Taking a brief moment to rate it with a glowing 5 stars on ThemeForest would be immensely appreciated. Your feedback holds significant value for us.
Click here to rate now: https://themeforest.net/downloads
Thank you sincerely for your ongoing support!
Best Regards,
The 8Theme Team
The issue related to '‘Checkout page autofilling field details’' has been successfully resolved, and the topic is now closed for further responses