Is there a way to hide/remove the notice "Product removed. Undo?" on the cart page, when the customer removed the item from the cart?
I tried:
add_filter( 'woocommerce_cart_item_removed_title', '__return_null' );
but this only hides the title of the product, that has been removed...
I couldn't find the right hook of the rest of the line ("removed" and "Undo?")
I had the same problem, solved using the following statement:
add_filter('woocommerce_cart_item_removed_notice_type', '__return_null');
Code goes in function.php file of your active child theme (or active theme).
To unset "
{item_name} removed. Undo?
" notice on cart page, you can trick Woocommerce with the following:Code goes in function.php file of your active child theme (or active theme). Tested and works.