Camille Frisch Posted June 20, 2010 Share Posted June 20, 2010 HiI'd like to trigger a cart update remotely (from a flash frontend) using javascript.I spoted the updateCart : function(jsonData) { in blockcart/ajax-cart.js, line 504,but I have no clue what is jsonData, nor how to retrieve it.Any help greatly appreciated.My goal if unclear, is to update the cart module with a javascript(ajax?) call.mika Link to comment Share on other sites More sharing options...
rocky Posted June 21, 2010 Share Posted June 21, 2010 The jsonData is creating in modules/blockcart/blockcart-json.tpl. Link to comment Share on other sites More sharing options...
Camille Frisch Posted June 21, 2010 Author Share Posted June 21, 2010 Thanks a lot for your input, with a closer look to the ajax-cart.js code, I could figure i only needed to call : update [removed]=javascriptWorks like a charm ! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now