The minicart is placed in <div class="vognur"></div> -
And i am trying to add mulitple products to the cart, and then reload ?d=22 into the <div class="vognur"></div>
Here is what i have so far in the javacsript function being called on clicking add to cart.
var prodid=prod1; (this is ofcourse a dynamic field)
var amount=2;( this is ofcourse a dynamic field)
var ajstring="ProducID="+prodid+"&Quantity="+amount+"&CartCMD=addMulti";
$.ajax({
type: "POST",
url: "http://lyfta.dw9.dynamicweb-cms.com/Default.aspx?ID/?id=22",
data: ajstring,
success: function(result){
$(".vognur").html(result);
}});
But it is not working. The ajax part is working fine, and something gets loaded into the div - but products are not added.
What am i missing? Does anyone have any documentation on this? CanĀ“t find anything here on the doc.portal - and more than half the search results lead to dead links on this portal.
/Hans