Pizza Kebab Bioggio

Kebab Panino

Personalizza il prodotto, aggiungilo al carrello e invia un unico ordine finale.

Kebab Panino

Pane caldo, carne kebab, verdure fresche e salse a scelta.

Kebab Panino

Personalizza il tuo kebab. Poi aggiungilo al carrello unico.

CHF 10.00

Ingredienti inclusi

✓ Carne kebab
✓ Pane kebab
✓ Insalata verde
✓ Pomodoro
✓ Cipolla
✓ Cavolo rosso
✓ Salse a scelta
✓ Spezie

Allergeni demo

Glutine
Latte
Sesamo
Uova possibili

Demo: sostituisci con allergeni reali.

Verdure

Salse multiple

Extra ingredienti

Piccante

Note prodotto

Prezzo base CHF 10.00
Extra selezionati CHF 0.00
Totale prodotto CHF 10.00
Torna ai Kebab

🛒 Il tuo carrello

Totale ordine CHF 0.00

Consegna o ritiro

Metodo di pagamento

Dati cliente

"; } cart.forEach(function(item,index){ total += Number(item.total || 0); var div = document.createElement("div"); div.className = "cart-item"; var h = document.createElement("h3"); h.textContent = (index + 1) + ". " + item.product + " - CHF " + Number(item.total).toFixed(2); var p1 = document.createElement("p"); p1.textContent = "Dettagli: " + (item.details || "Nessun dettaglio"); var p2 = document.createElement("p"); p2.textContent = "Note: " + (item.note || "Nessuna"); var btn = document.createElement("button"); btn.className = "cart-remove"; btn.textContent = "Rimuovi prodotto"; btn.onclick = function(){ pkbRemoveItem(item.id); }; div.appendChild(h); div.appendChild(p1); div.appendChild(p2); div.appendChild(btn); box.appendChild(div); }); document.getElementById("cartTotal").innerText = total.toFixed(2); } function pkbRemoveItem(id){ var cart = pkbGetCart().filter(function(item){ return item.id !== id; }); pkbSaveCart(cart); } function pkbClearCart(){ if(confirm("Vuoi svuotare il carrello?")){ localStorage.removeItem("pkbCart"); pkbRenderCart(); } } function pkbSendCartEmail(){ var cart = pkbGetCart(); if(cart.length === 0){ alert("Il carrello è vuoto."); return; } var tipo = document.getElementById("tipoOrdine").value; var pagamento = document.getElementById("metodoPagamento").value; var nome = document.getElementById("clienteNome").value; var telefono = document.getElementById("clienteTelefono").value; var via = document.getElementById("clienteVia").value; var cap = document.getElementById("clienteCap").value; var citta = document.getElementById("clienteCitta").value; var piano = document.getElementById("clientePiano").value; var orario = document.getElementById("clienteOrario").value; var email = document.getElementById("clienteEmail").value; var noteCliente = document.getElementById("clienteNote").value; if(!nome || !telefono){ alert("Inserisci nome e telefono."); return; } if(tipo === "Consegna a domicilio" && (!via || !cap || !citta)){ alert("Per la consegna inserisci via, CAP e città."); return; } var totale = 0; var ordine = ""; cart.forEach(function(item,index){ totale += Number(item.total || 0); ordine += "PRODOTTO " + (index + 1) + "%0A" + "Nome: " + item.product + "%0A" + "Prezzo: CHF " + Number(item.total).toFixed(2) + "%0A" + "Dettagli: " + (item.details || "Nessun dettaglio") + "%0A" + "Note prodotto: " + (item.note || "Nessuna") + "%0A%0A"; }); var subject = "Nuovo ordine Pizza Kebab Bioggio - " + nome; var body = "NUOVO ORDINE PIZZA KEBAB BIOGGIO%0A%0A" + "Servizio: " + tipo + "%0A" + "Pagamento: " + pagamento + "%0A%0A" + "DATI CLIENTE%0A" + "Nome: " + nome + "%0A" + "Telefono: " + telefono + "%0A" + "Email: " + (email || "Non indicata") + "%0A" + "Via: " + (via || "Non indicata") + "%0A" + "CAP: " + (cap || "Non indicato") + "%0A" + "Città: " + (citta || "Non indicata") + "%0A" + "Piano/citofono: " + (piano || "Non indicato") + "%0A" + "Orario: " + (orario || "Non indicato") + "%0A" + "Note cliente: " + (noteCliente || "Nessuna") + "%0A%0A" + "ORDINE%0A%0A" + ordine + "TOTALE ORDINE: CHF " + totale.toFixed(2); window.location.href = "mailto:" + pkbEmailOrdini + "?subject=" + encodeURIComponent(subject) + "&body=" + body; } document.querySelectorAll(".extra").forEach(function(el){ el.addEventListener("change", pkbUpdateTotal); }); pkbUpdateTotal(); pkbRenderCart();