diff --git a/includes/class-wc-cart.php b/includes/class-wc-cart.php index 5f19c480ea5..f451a7a1504 100644 --- a/includes/class-wc-cart.php +++ b/includes/class-wc-cart.php @@ -795,7 +795,7 @@ class WC_Cart { // Check product is_purchasable if ( ! $product_data->is_purchasable() ) { - wc_add_notice( sprintf( __( 'Sorry, "%s" cannot be purchased.', 'woocommerce' ), $product_data->get_title() ), 'error' ); + wc_add_notice( __( 'Sorry, this product cannot be purchased.', 'woocommerce' ), 'error' ); return false; }