I already cleared billing fields on checkout page, but unfortunately they are still remembered on cart page.
add_filter( 'woocommerce_checkout_get_value', 'reigel_empty_checkout_billing_fields', 10, 2 );
function reigel_empty_checkout_billing_fields( $value, $input ) {
if ( in_array( $input, $billing_fields ) ) {
$value = '';
}
return $value;
}
I just want to display on cart page an information, that the shipping costs will show in the next step after filling shipping fields. Can anybody help me with it?
