Woocommerce checkout form field label reverting right after page load

Hi guys

So I’m trying to change the field label on the checkout page from ‘Street Address’ to -> ‘Delivery / Shipping Address’. I’ve changed the label text using the Checkout Manager plugin, and even added this to the functions.php file in the child theme.

add_filter( ‘woocommerce_checkout_fields’ , ‘custom_override_checkout_fields’ , ‘woocommerce_default_address_fields’ );

function custom_override_checkout_fields( $fields ) {
$fields[‘billing’][‘billing_address_1’][‘label’] = ‘Delivery Address’;
$fields[‘shipping’][‘shipping_address_1’][‘label’] = ‘Delivery Address’;
return $fields;
}

But it’s still not working. When loading the page, ‘Delivery Address’ appears for a split second before reverting to ‘Street Address’ and I have no idea why, and it’s driving me crazy. I’ve cleared caches and all plugins + themes are up to date.

The website in question is: https://www.jackrabbitchocolate.co.za/checkout/ (just add a product to the cart so that the Checkout form comes up).

I know you’re not the WooCommerce support team but would appreciate any help you can give!

Thanks, Chris.

Hi Chris,

Yes, unfortunately, this is outside the scope of our support. I found this thread that might help you. The issue describe there is exactly the same problem you have.

Hi Lely

The thread looked promising but unfortunately didn’t work on my side. Will keep looking through the WooCommerce forums though, thanks!

You’re welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.