WooCommerce Auto Update Cart When Quantity Changes

Do you want WooCommerce auto update cart when quantity changes. Yes, with a simple php function with two lines of JQuery and the result is great!

When you change the product quantity this JQuery code will update your cart data jQuery(“[name=’update_cart’]”).trigger(“click”);

Use one of two code snippet within theme functions.php

WooCommerce Update Checkout Total with Postcode Field

 

Your one social media share will help others

Leave a Comment