cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to make ajax call for update cart

Former Member
0 Likes
459

In OOTB whenever we update the entries in the cart then the post back call goes and update the cart. How can we make the same feature as Ajax call. The requirement is for each entry we have an ajax call to update it.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Hi, you can use a POST ajax call for that. Then in the controller you must create a new @RequestMapping for this call and copy the OOTB update method in the body.

Bye