As when I change product qty in shopping cart, total and subtotal value must change without clicking on Update Shoping item button

  • On clicking Update Shopping cart - still it is not working ? Oct 10, 2018 at 12:17
  • Its working as i need to As when i change product qty in shopping cart total and subtotal value must change without clicking update Aditya Shah Oct 10, 2018 at 12:38
  • 1
    ohh you need an AJAX call Oct 10, 2018 at 12:39
  • Yeah how can i get it.. Oct 10, 2018 at 12:39
  • There are multiple solution out there.. which are already answered :) so i can provide the links Oct 10, 2018 at 12:43

2 Answers 2


Magento 2 - Reload totals cart after ajax change quantity

  1. https://stackoverflow.com/questions/40002976/magento-2-reload-totals-cart-after-ajax-change-quantity?rq=1
  2. Shopping cart page, update quantity by ajax
  3. How to update cart qty using ajax Magento 2
  4. https://inchoo.net/magento-2/improve-usability-magento-2-add-cart-process/

Once the ajax process is complete, we can trigger scroll event to scroll on top of the page and as soon as mini-cart get’s updated we can then trigger mini-cart UI dialog to open and show us the complete experience and what mini-cart is actually offering to us (either to go to the cart, go to the checkout or continue shopping).


Just run the following js code -

) {

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.