• Resolved aayush023

    (@aayush023)


    I am trying to create a function in my plugin which should be called when the cart is updated by clicking the update cart button after changing the product quantity.

    I tried to use “woocommerce_update_cart_action_cart_updated” hook for the same but the function did not initiate, I suppose this hook is not available during the event.

    I also used “woocommerce_cart_updated” hook but it calls the function every time a page is loaded.

    Can anyone let me know what hook should I use?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Unable to call function in my plugin when the cart is updated’ is closed to new replies.