Woocommerce change shipping to delivery in cart and checkout pages

Okay, I’ve tried the standard “gettext” method and the woocommerce_shipping_package_name filter method with no luck. The gettext changed the “Shipping” label to “Delivery” in every place but the cart and check out pages where I intended, particularly it showed up on the Woocommerce/Settings tab on the dashboard.

So the question I have is "On the Cart and Checkout pages in Woocommerce working in Pro, how do you change “Shipping” to “Delivery”? I have a child theme of Pro and have specified the cart page, 'if (is_cart()) {//run function} to remove from dashboard but still no luck. please help.

Hey,

You can add the following code at your functions.php

add_filter( 'woocommerce_cart_shipping_method_full_label', 'change_shipping_label', 10, 2 );

function change_shipping_label( $full_label, $method ){

  $full_label = str_replace( "International Shipping (Free)", "Call Us For Rates", $full_label );
  return $full_label;
}

John,

I added your snippet with no success. Not sure what I’m missing. To be clear, I am looking to change the “Shipping” label in the Cart Totals as well as in the Check Out to “Delivery Charge”. I don’t see where your snippet changes anything.

E.

Hi There,

Try using a plugin for that (https://wordpress.org/plugins/woocommerce-checkout-manager/).

Hope that helps.