I’m trying to write a php snippet to have my cart page refreshed once after a product is being removed from the cart. (using js for eg. echo ‘ location.reload(); ‘;)
I used this site: https://hooks.wpdesk.org/cart/ but i have no idea which hook to use without getting the page into endless loop. any ideas?