If you wish to customize the shipping information linked to the ‘Change address’ label on your WooCommerce cart page, use this snippet for the modification.
add_filter('gettext', 'ts_change_cart_address_text', 10, 3); function ts_change_cart_address_text($translated_text, $text, $domain) { if ($text === 'Change address' && $domain === 'woocommerce') { $translated_text = __('Update the address', 'woocommerce'); } return $translated_text; }
Output
The below output shows that the “change address” label name is changed into the “Update the address” text link.
Alternatively, you can also add a custom message that helps to replace the WooCommerce cart shipping section with a custom text message while removing the default shipping section from the cart page.