Hi,
I have a WooCommerce site where users can submit listings, either as a new user or using a previously created account. All is working fine except that the checkout fields are pre-filled in and the client is not happy.
Here's what happens on the checkout page:
If user is logged in then the first name, last name and username are pre-filled with their information - makes life easier for them and the client is happy with this.
However, if that user then logs out and another user wants to place an ad by creating a new user account, then the previous users information is still pre-filled with their first name, last name and username, meaning new user has to delete this and enter their own. Client is NOT happy with this at all! Despite the fact that this scenario would almost never happen.
I have tried the following filter, but this just causes ALL the fields to be not filled in, regardless of the above. Again, client not happy :(
add_filter('woocommerce_checkout_get_value','__return_empty_string',10);
Any advice would be much appreciated as this is driving me nuts!
Thanks
Sue