master
parent
e83c43ab03
commit
988ab96126
|
@ -80,10 +80,9 @@ $(window).on('load', function(){
|
||||||
});
|
});
|
||||||
let cart = products.join('\n')+"\nTotal Price: "+numberToEuroFormat(totalPrice);
|
let cart = products.join('\n')+"\nTotal Price: "+numberToEuroFormat(totalPrice);
|
||||||
$('#ccart').val(cart);
|
$('#ccart').val(cart);
|
||||||
console.log($('form').serializeArray());
|
objProducts = [];
|
||||||
//objProducts = [];
|
localStorage.setItem("products", JSON.stringify(objProducts));
|
||||||
//localStorage.setItem("products", JSON.stringify(objProducts));
|
form.unbind('submit').submit();
|
||||||
//form.unbind('submit').submit();
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
$(document).on('click', '.btn-remove-product', function(){
|
$(document).on('click', '.btn-remove-product', function(){
|
||||||
|
|
Loading…
Reference in New Issue