In want to modify the cart view so that when costumer change quantity of item in cart, it will update cart and total price automatically and immediately through AJAX (instead of when pressing button update cart through page reload).

1 Answer 1


The short, general, answer is: use the Forms Ajax API. It’s difficult to provide a longer answer here. Another respondent may know of a commerce module that does this.

  • Thanks, I'll look into that Apr 5, 2022 at 8:04

Your Answer

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

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