generate functionMon, 26 Dec 2022

add shipping costs to woocommerce checkout summary

function wc_add_total_to_order_shipping_cost( $total ) { $total += 10.00; return $total; } add_filter( 'woocommerce_order_shipping_to_display_shipped_via', 'wc_add_total_to_order_shipping_cost' );

Questions about programming?Chat with your personal AI assistant