Hi Lukasz,
I know this was posted 6 months ago, but might be helpful for those who will encounter the same issue in the future.
You can use woocommerce_before_cart_item_quantity_zero filter for this one.
/**
* WooCommerce Cart item quantity was set to 0
*/
add_filter('woocommerce_before_cart_item_quantity_zero', 'wordpress_before_cart_item_quantity_zero', 10, 1);
function wordpress_before_cart_item_quantity_zero($cart_item_key)
{
write_log('Cart quantity updated to zero. Cart item key: ' . $cart_item_key);
}
Cheers,
Alfie