Hi Harry,
I have found a function which helps me to have auto update the cart amount after changing the quantity of items.
/* live update for quantity on cart page */
add_action( 'wp_footer', 'cart_update_qty_script' );
function cart_update_qty_script() {
if (is_cart()) :
?>
<script>
jQuery('div.woocommerce').on('click', '.qty', function(){
jQuery("[name='update_cart']").removeAttr('disabled');
});
jQuery('div.woocommerce').on('change', '.qty', function(){
jQuery("[name='update_cart']").trigger("click");
});
</script>
<?php
endif;
}
Can you please help me to hide the footer of the cart items and alos the button of update? http://take.ms/T4328
Regards.
Rahim Vaziri
CEO & Founder at Look.ir