WordPress WooCommerce Auto Update Cart



:
jQuery( function( $ ) {
        let timeout;
        $('.woocommerce').on('change', 'input.qty', function(){
            if ( timeout !== undefined ) {
                clearTimeout( timeout );
            }
            timeout = setTimeout(function() {
                $("[name='update_cart']").trigger("click"); // trigger cart update
            }, 1000 ); // 1 second delay, half a second (500) seems comfortable too
        });
    } );
custom
update cart css

:

https://rudrastyh.com/woocommerce/re...rt-button.html