// Hide or remove the notice "Product removed. Undo?" add_filter('woocommerce_cart_item_removed_notice_type', '__return_null'); // Hide “Added to Your Cart” Message add_filter( 'wc_add_to_cart_message_html', '__return_false' ); // Hide “Cart updated” Message add_filter('woocommerce_add_message', '__return_false');