I’d like to have a variety of options I’d like to have happen when a user adds an item to my cart, such as:
a – add to cart and stay on page
b – add to cart and go to previous page
c – add to cart and go to cart
d – add to cart and go directly to checkout
However, the query argument “?wootickets_process=1” appended to my form’s action url prevents me from properly hooking the woocommerce “add_to_cart_redirect” function and defining my own redirects.
Can I just remove this argument? What functionality would I lose? Or is there another way I can keep the wootickets argument and hook the ‘add to cart’ process and define my own custom url to redirect to?
Thanks