Support » Plugin: WooCommerce » Action hook on removing product from cart

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Lukasz,

    I’m facing the same issue and was wondering if you managed to find an answer?

    Thank you very much.

    Hi Seforoth!
    Unfortunately, I did not.
    I will try to manage with sessions, can’t see any other way.

    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);


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Action hook on removing product from cart’ is closed to new replies.