Checkout page autofilling field details - by Tamara

This topic has 4 replies, 3 voices, and was last updated 33 minutes ago ago by Andrew Mitchell

  • Avatar: Tamara
    Tamara
    Participant
    December 19, 2024 at 11:13

    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

    Content is visible for topic creator and
    support staff only.
    Files is visible for topic creator and
    support staff only.
    3 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    December 19, 2024 at 11:31

    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

    Content is visible for topic creator and
    support staff only.
    Avatar: Tamara
    Tamara
    Participant
    December 19, 2024 at 11:37

    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).

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    December 19, 2024 at 11:37

    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

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘Checkout page autofilling field details’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.