I’m displaying the cart on every page by using a shortcode on
if(!is_cart() && !is_checkout()) echo do_shortcode('[woocommerce_cart]');
This works, except there is no Ajax functionality. When I change quantities and click on the "Update Cart" button, the page fully reloads. How can I make it update by using Ajax?
Source: Ask PHP