• Resolved k3x8

    (@k3x8)


    I recently created a draft of a checkout page I wanted to use. While previewing the page, I found that some fields (email, first name, etc) were already filled in. I realized that these details matched the details found in the Users> Profile> Customer Billing Address section. I tried clearing the section and updating the profile, but the profile details remain the same despite me deleting all the details (name, address, email, etc). How can I ensure that the billing details do no occupy the fields in the checkout form?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support abwaita a11n

    (@abwaita)

    Hi @k3x8,

    In many cases, this happens due to caching of the checkout page. A caching plugin could have saved the page while it had these details and now each time the page is served, it comes with the customer’s details.

    * I would recommend checking whether you have a caching plugin and then purging all cache from it. Next, you’ll want to configure the plugin not to cache the cart, checkout, and My Account pages. Here’s a helpful guide – https://docs.woocommerce.com/document/configuring-caching-plugins/
    * If you do not have a caching plugin, check if your host is doing any caching of sorts and ask them to disable it.
    * From there, you’ll want to clear your browser’s cache memory and check if the issue persists.

    If the issue persists after trying the above, could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.? Once you’ve done that, paste it here in your response.

    Thanks.

    Thread Starter k3x8

    (@k3x8)

    @abwaita , thanks for the help. As far as I know, I don’t have any cache plugins installed that could be causing this, I’ll take your advice and check with my host and see if they are enabling caching of the pages.

    Hi @k3x8

    As an alternate solution, you can add the code below to clear out the pre-filled info upon checkout page load:

    add_filter('woocommerce_checkout_get_value','__return_empty_string', 1, 1);

    I would recommend using a plugin like?Code Snippets?to add the snippet to your site.

    Thread Starter k3x8

    (@k3x8)

    Thank you @maykato, the code snippet you mentioned resolved the problem I had.

    • This reply was modified 3 years, 5 months ago by k3x8.

    Hi @k3x8

    Thank you for the update. Glad to hear the snippet worked. If you have any other questions, please feel free to open a new topic.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Checkout Billing Details already filled in’ is closed to new replies.