If you want to change the default shipping methods label name into a new label name in the WooCommerce cart, you can use the following code snippet.
function ts_shipping_method_labels( $label, $method ) { // You can customize the shipping method labels here switch ( $method->method_id ) { case 'free_shipping': $label = 'Standard Shipping'; break; case 'flat_rate': $label = 'Express Shipping'; break; case 'local_pickup': $label = 'Local Pickup Service'; break; // Add more cases for other shipping methods as needed } return $label; } add_filter( 'woocommerce_cart_shipping_method_full_label', 'ts_shipping_method_labels', 10, 2 );
Output
In the output below, the default label names of shipping methods are replaced with new labels: “Standard Shipping,” “Express Shipping,” and “Local Pickup Service.”
![How to Change the Default Label Name of Shipping Methods in WooCommerce Cart? 1 How to Change the Default Label Name of Shipping Methods in WooCommerce Cart? - Tyche Softwares](https://media.tychesoftwares.com/wp-content/uploads/Change-the-Default-Shipping-Method-Label-name-in-WooCommerce.png)
Additionally, if you want to show the details about every shipping method on the cart page, then you can follow this guide that will add a note below each shipping method in WooCommerce cart.