In Woocommerce i am trying to clear the checkout fields. so when a user that has ordered something before, and is now ordering something again, he/she will have to write in all his/her information again.
i am using this code
function clear_checkout_fields($input){
return '';
}
add_filter( 'woocommerce_checkout_get_value' , 'clear_checkout_fields' , 1);
Now this code is clearing all the fields, but it also changes my VAT to show as 0.
does anyone know a solution to this?