add shipping costs to woocommerce checkout summary
function woocommerce_cart_shipping_method_full_label( $label, $method ) { $label .= ' - ' . $method->cost . ' ' . get_woocommerce_currency_symbol(); return $label; } add_filter( 'woocommerce_cart_shipping_method_full_label', 'woocommerce_cart_shipping_method_full_label', 10, 2 );