"Plus de hauteur"

This commit is contained in:
2017-10-28 11:54:12 +02:00
parent 76cf51831b
commit 208029f41d
3 changed files with 9 additions and 4 deletions

View File

@@ -624,6 +624,11 @@ function add_kit_componant(kit_id, componant_id) {
alert('La quantité doit être au moins égale à 1');
return;
}
if (isNaN(quantity)){
alert('La quantité doit être un nombre.');
return;
}
setcookie('kc_quantity', quantity, 30);
setcookie('kc_componant_id', componant_id, 30);
var xhttp = new XMLHttpRequest();