Posted on 06/06/2014 11:19:34
Hi Anders,
Maybe it's just a tiny thing, but we are missing it.
$("#addToCartContainer").submit(function (event) {
event.preventDefault();
$.ajax({
type:"POST",
url:"/Default.aspx?ID=37&CartCmd=addMulti&UnitID1=&ProductLoopCounter1=1&ProductID1=PROD7&Quantity1=5&VariantID1=VO102.VO1&UnitID2=&ProductLoopCounter2=2&ProductID2=PROD7&Quantity2=7&VariantID2=VO103.VO1 ",
headers:{
"Pragma":"no-cache",
"Cache-Control":"no-store, no-cache, must-revalidate, post-check=0, pre-check=0",
"Expires":0,
"Last-Modified":new Date(),
"If-Modified-Since":new Date()
},
cache:false,
dataType:'html',
success:function (str_data) {
// success
}
});
});
Best Regards,
Nuno