WooCommerce Auto Update Cart When Quantity Changes

Last Updated : April 15, 2020

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


 
Custom WooCommerce Plugin Development
 
7 Things You Should Never Do With Your WooCommerce Store
 
Flatsome Theme Customization
 
WooHero WooCommerce Store Customizer
 

Your one social media share will help others

Leave a Comment