Ajax auto update Cart Totals when changing Quantity
With 2.6 released the cart is updated via Ajax, a big improvement, however it's still necessary to click 'update cart' manually.
Even better would be an automatic Total Price calculation when the Quantity of a product changes, without the need to manually click on "Update cart" button.
This improves the user experience and speed during check out.
Something like this plugin: https://wordpress.org/plugins/woocommerce-ajax-cart/
Other platforms have had issues with this type of functionality.
Making it auto update would mean the update button is not needed. In some cases however, the update button is used for more than just qty updates so removing this would be breaking.
Additionally, updating quantities on every change can lead to multiple posts/ajax refreshes that are unnecessary. e.g. if I wanted to update several qty’s at once, or increase a qty by a few units using the ‘arrow’ buttons on the quantity input.
For these reasons we’d like to keep the update button around. This will be re-evaluated and user-tested with a larger checkout redesign in the future.
Ryszard Jędraszyk commented
For anyone who needs this functionality, I created free plugin Ajax Cart AutoUpdate:
Mike mentioned a problem with multiple Ajax calls, but my plugin solves it with this feature:
"Cart update is delayed by amount in miliseconds since last action affecting quantity, specified by user in settings, default 1000. It means that update will fire only once, when user is done with changes."
No solution is perfect, but this is pretty close to it in my opinion.
I am trying to display a quantity field with update button on woocommerce mini cart but its not working any suggestions please.
no you need to wait every time from changing for example from 5 to 1
Luke Cavanagh commented
Also look at.
I agree to Leon,
this is the major issue with my clients - do not clicking "Update cart" button after the changes in quantity are made. It would be great if Ajax on the Cart page goes one step further than product's deleting and quantity changing