Manipulating cart after sticky atc submit
-
Hi,
I have a certain function which conditionally makes changes in the cart hooked into the following 2 actions:
woocommerce_before_cart
woocommerce_before_mini_cartBut, this code doesn’t run when the sticky add to cart panel is used. I was trying to figure out what action does it invoke that could be used but I ran out of possibilities for further online research. Do keep in mind the code is not live on the site at the moment but I do know the code actually works well, just missing info on how to invoke it after the sticky atc submission.
Important to note that the function does do WC()->cart->add_to_cart and WC()->cart->remove_cart_item operations so that limits the possibilities a bit not to induce an infinite loop.
Any help would be greatly appreciated.
The page I need help with: [log in to see the link]
- The topic ‘Manipulating cart after sticky atc submit’ is closed to new replies.