mirror of
https://github.com/Alvin-Zilverstand/Schoolkantine.git
synced 2026-03-06 13:26:27 +01:00
Merge branch 'main' of https://github.com/Alvin-Zilverstand/Schoolkantine
This commit is contained in:
@@ -183,7 +183,7 @@ function showItemDetails(item) {
|
|||||||
function getDescription(title) {
|
function getDescription(title) {
|
||||||
|
|
||||||
// Broodjes beschrijvingen
|
// Broodjes beschrijvingen
|
||||||
} if (title === "Broodje Gezond") {
|
if (title === "Broodje Gezond") {
|
||||||
return "Op dit broodje zit kaas, veldsla, komkommer, tomaat, ei, ham en/of kip en bufkes saus.";
|
return "Op dit broodje zit kaas, veldsla, komkommer, tomaat, ei, ham en/of kip en bufkes saus.";
|
||||||
} else if (title === "Bagel") {
|
} else if (title === "Bagel") {
|
||||||
return "Doughnut brood met spek, ei en kaas";
|
return "Doughnut brood met spek, ei en kaas";
|
||||||
@@ -347,6 +347,7 @@ function getDescription(title) {
|
|||||||
} if (title === "Rietjes") {
|
} if (title === "Rietjes") {
|
||||||
return "Plastice rietjes";
|
return "Plastice rietjes";
|
||||||
}
|
}
|
||||||
|
}
|
||||||
// Functie om een item aan het winkelwagentje toe te voegen
|
// Functie om een item aan het winkelwagentje toe te voegen
|
||||||
function addToCart(item) {
|
function addToCart(item) {
|
||||||
const cart = JSON.parse(localStorage.getItem('cart')) || [];
|
const cart = JSON.parse(localStorage.getItem('cart')) || [];
|
||||||
|
|||||||
Reference in New Issue
Block a user