master
parent
988ab96126
commit
e4fdf34849
|
@ -78,7 +78,7 @@ $(window).on('load', function(){
|
||||||
product = calculatePrice(product);
|
product = calculatePrice(product);
|
||||||
return product.quantity+'x '+product.title+' ('+numberToEuroFormat(product.calc_preis)+')';
|
return product.quantity+'x '+product.title+' ('+numberToEuroFormat(product.calc_preis)+')';
|
||||||
});
|
});
|
||||||
let cart = products.join('\n')+"\nTotal Price: "+numberToEuroFormat(totalPrice);
|
let cart = products.join("\n")+"\nGesammt: "+numberToEuroFormat(totalPrice);
|
||||||
$('#ccart').val(cart);
|
$('#ccart').val(cart);
|
||||||
objProducts = [];
|
objProducts = [];
|
||||||
localStorage.setItem("products", JSON.stringify(objProducts));
|
localStorage.setItem("products", JSON.stringify(objProducts));
|
||||||
|
|
|
@ -111,7 +111,7 @@
|
||||||
<div class="alert alert-danger">{{session()->get('error')}}</div>
|
<div class="alert alert-danger">{{session()->get('error')}}</div>
|
||||||
<br>
|
<br>
|
||||||
@endif
|
@endif
|
||||||
<x-form id="anfrage" id-name="anfrage" channels="bestaetigung,airtable,warenkorb">
|
<x-form id="anfrage" id-name="anfrage" channels="airtable,warenkorb">
|
||||||
<input type="hidden" name="cart" id="ccart">
|
<input type="hidden" name="cart" id="ccart">
|
||||||
<div class="mb-4">
|
<div class="mb-4">
|
||||||
<label for="" class="form-label">Anrede</label>
|
<label for="" class="form-label">Anrede</label>
|
||||||
|
|
Loading…
Reference in New Issue