WooCommerce Auto Update Cart When Quantity Changes

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
7 Things You Should Never Do With Your WooCommerce Store
Send Additional WooCommerce Email
WooHero WooCommerce Store Customizer

Your one social media share will help others

Leave a Comment