{"id":1015,"date":"2020-11-09T12:38:53","date_gmt":"2020-11-09T17:38:53","guid":{"rendered":"https:\/\/websitepsychiatrist.com\/?p=1015"},"modified":"2025-03-20T09:37:18","modified_gmt":"2025-03-20T13:37:18","slug":"woocommerce-checkout-fields-prefilled-with-data-from-a-previous-user","status":"publish","type":"post","link":"https:\/\/websitepsychiatrist.com\/woocommerce-checkout-fields-prefilled-with-data-from-a-previous-user\/","title":{"rendered":"WooCommerce checkout fields prefilled with data from a previous user"},"content":{"rendered":"\n<p>We started to doubt a customer&#8217;s sanity when they said that they were seeing name and address information already populated in their WooCommerce checkout. Even weirder, it was contact information for somebody else.<\/p>\n\n\n\n<p>Come to find out that their default hosting options had aggressive caching running and the site was caching every page, including these 3 pages that you NEVER want to cache:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/cart\/\n\/checkout\/\n\/wp-admin\/\n\/my-account\/<\/code><\/pre>\n\n\n\n<p>Obviously, you need to make sure that these are the URLs that your installation of WooCommerce is using, as these are the defaults that we use.<\/p>\n\n\n\n<p>This was a consulting project, so we were not involved with the hosting setup. We host with <a href=\"https:\/\/paranoidhosting.com\" class=\"rank-math-link\" target=\"_blank\" rel=\"noopener\">Paranoid Hosting<\/a> and, by default, those cache rules are already in place.<\/p>\n\n\n\n<p>Source: <a href=\"https:\/\/wordpress.org\/support\/topic\/when-guests-checkout-checkout-forms-are-pre-filled-dont-know-how-to-remove\/\" class=\"rank-math-link\" target=\"_blank\" rel=\"noopener\">https:\/\/wordpress.org\/support\/topic\/when-guests-checkout-checkout-forms-are-pre-filled-dont-know-how-to-remove\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We started to doubt a customer&#8217;s sanity when they said that they were seeing name and address information already populated in their WooCommerce checkout. Even weirder, it was contact information for somebody else. Come to find out that their default hosting options had aggressive caching running and the site was caching every page, including these &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"WooCommerce checkout fields prefilled with data from a previous user\" class=\"read-more button\" href=\"https:\/\/websitepsychiatrist.com\/woocommerce-checkout-fields-prefilled-with-data-from-a-previous-user\/#more-1015\" aria-label=\"Read more about WooCommerce checkout fields prefilled with data from a previous user\">Read more<\/a><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-1015","post","type-post","status-publish","format-standard","hentry","category-case-studies","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50"],"_links":{"self":[{"href":"https:\/\/websitepsychiatrist.com\/api\/wp\/v2\/posts\/1015","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/websitepsychiatrist.com\/api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/websitepsychiatrist.com\/api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/websitepsychiatrist.com\/api\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/websitepsychiatrist.com\/api\/wp\/v2\/comments?post=1015"}],"version-history":[{"count":3,"href":"https:\/\/websitepsychiatrist.com\/api\/wp\/v2\/posts\/1015\/revisions"}],"predecessor-version":[{"id":1026,"href":"https:\/\/websitepsychiatrist.com\/api\/wp\/v2\/posts\/1015\/revisions\/1026"}],"wp:attachment":[{"href":"https:\/\/websitepsychiatrist.com\/api\/wp\/v2\/media?parent=1015"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/websitepsychiatrist.com\/api\/wp\/v2\/categories?post=1015"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/websitepsychiatrist.com\/api\/wp\/v2\/tags?post=1015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}