And if the user clicks again, the new quantity will be added up to the exising quantity in the orderline.
But our customer has another requirement, that when the user clicks "Add to Cart" for the first time, it should just works as it does today. But when the user clicks it again, the orderlines quantity should be totally replaced by the new quantity, instead of by the new quantity added up to the existing quantity in the orderline.
So my question is, that is there any link like "/default.aspx?id=&productid=&VariantID=&cartcmd=add&quantity=" + document.getElementById("selectQuantityBrochure").value" I can call to fufill the new requirement? Or I should subscribe an event to override the "Add to Cart" function?
Can you guys give me an hint?