Change Shipping Package Name for Printful Orders
-
I’m trying sell Printful products, along with my own products that I ship myself. WooCommerce handles the split shipping rates within the cart and at checkout by labeling them “Shipping” and “Shipping 2”. I’m looking for a hook to add to my functions that would rename “shipping 2” text to “Printful Shipping”. I found a function (see below) that can change the text, but not one that can recognize the difference between the WooCommerce, and the Printful. Being able to give them a more distinct name would help to alleviate any confusion my customers may have when they see the two separate shipping charges. Any help would be most appreciated!
Thanks.
P.S.
this hook works to change the name, but it gives it the same name for both
add_filter( ‘woocommerce_shipping_package_name’, ‘custom_shipping_package_name’ );
function custom_shipping_package_name( $name ) {
return ‘Your Text’;
}
- The topic ‘Change Shipping Package Name for Printful Orders’ is closed to new replies.