diff --git a/includes/class-wc-shipping.php b/includes/class-wc-shipping.php index fda7db35bcf..b76f98e9632 100644 --- a/includes/class-wc-shipping.php +++ b/includes/class-wc-shipping.php @@ -137,7 +137,7 @@ class WC_Shipping { $this->shipping_methods = $shipping_zone->get_shipping_methods( true ); // Debug output - if ( ! empty( $status_options['shipping_debug_mode'] ) ) { + if ( ! empty( $status_options['shipping_debug_mode'] ) && ! defined( 'WOOCOMMERCE_CHECKOUT' ) ) { wc_add_notice( 'Customer matched zone "' . $shipping_zone->get_zone_name() . '"' ); } } else {