show woocommerce messages in overlay div or tooltip without page refresh
I am trying to get rid of the redirect/reload when the user is adding a product or gets a info message in my woocommerce shop. I just want to show the "added to cart" message in a tooltip or overlay div and let them continue shopping without renavigate to the shop. AJAX add to cart is enabled so my question is: what can I do to display this messages without refreshing the whole page? EDIT: maybe useful for anyone, heres my FINAL CODE: $('.add_to_cart_button, .single_add_to_cart_button').click(function(e) { var produkt_id; if ($(this).attr('data-product_id') == undefined) { produkt_id = $(