4

I'm using WooCommerce with the Storefront theme and I'm trying to alter the word "Shipping" on the basket page with totals.

I found some advice here: https://kriesi.at/support/topic/change-shipping-text-to-delivery-on-checkoutcart/

However, they mention it might require custom work to do this.

Can anyone please advise?

Mark Rotteveel
  • 100,966
  • 191
  • 140
  • 197

3 Answers3

11

Add this hook in function.php

add_filter( 'woocommerce_shipping_package_name', 'custom_shipping_package_name' );
function custom_shipping_package_name( $name ) {
  return 'Your Text';
}
10

Please add this code in functions.php

add_filter( 'woocommerce_shipping_package_name', 'custom_shipping_package_name' );
function custom_shipping_package_name( $name ) {
    return 'Delivery';
}
Rose Thorn
  • 179
  • 3
  • 16
0

Changing anything like that will require some custom code. There's a good tutorial here: https://apppresser.com/woocommerce-checkout-customization-guide/

However, if you're not confident with doing that, you can use one of the many plugins which are available. WooCommerce themselves do one: https://woocommerce.com/products/woocommerce-checkout-field-editor/

Peter HvD
  • 1,623
  • 1
  • 7
  • 14