Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Update cart asynchronously please

 
joey toro
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any help would be greatly appreciated, I've gotten this far but I want my cart to update the quantity and if checked to remove then remove it also without having to hit update. Ajax. Also any explanations added would be 10000% more helpful also Thank you.

Not sure which files you would need but here are the ones I think need shown for help:



with the updatecart



and the managecart



 
joey toro
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm pretty sure it would be somewhere in here right?

item.setQuantity(quant);
if(request.getParameter("remove" + i)!=null){
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic