meerkhatdesign
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Checkout form pre-filled with old visitor’s dataI just encountered this issue with a client today. Hope this helps someone out.
If you haven’t already temporarily disabled caching plugins on your site, then I recommend doing so.
Also visit the server host (Bluehost, Siteground, HostGator, etc.) and temporarily disable any server-side caching like NGINX.
If the issue still exists, try adding this line of code to the site’s functions.php in the theme editor as a permanent solution:
// Custom functions add_filter('woocommerce_checkout_get_value','__return_empty_string', 1, 1);
This will remove any pre-filled data on the checkout page.
The last step should solve your problem but is more of a last resort option if you’ll never need pre-fill info on the checkout.
A third option is to clear any Woocommerce caching. Go to WooCommerce -> Status -> Tools and you can find all the caching options here. I recommend you backup the site with All-in-One WP or another plugin to prevent any issues before clearing these options.
For more information and resources check this Stack Exchange Post:
https://stackoverflow.com/questions/43314610/remove-woocommerce-checkout-fields-valuesThis issue is definitely a caching problem so I recommend narrowing down which plugin (client-side) or if it’s your server (server-side) and go from there.
Best of luck!
- This reply was modified 4 years, 1 month ago by meerkhatdesign.
- This reply was modified 4 years, 1 month ago by meerkhatdesign.