Open bootstrap modal after add to cart
I'd like to open a bootstrap modal after a sucessful add to cart from a recordset (and then show up the cart's content). Like this I can open the modal after submit the form:
$('form#addToCart').on('submit', function () {
$('#myModal').modal('show');
return false;
});
But nothing is added to the cart. Thanks for any help.