Spaces:
Sleeping
Sleeping
Update templates/Menu.html
Browse files- templates/Menu.html +1 -1
templates/Menu.html
CHANGED
@@ -309,7 +309,7 @@
|
|
309 |
});
|
310 |
|
311 |
// Function to handle adding an item to the cart
|
312 |
-
function addToCart(item.Name,
|
313 |
if (cart[item.Name]) {
|
314 |
cart[item.Name].quantity += 1;
|
315 |
} else {
|
|
|
309 |
});
|
310 |
|
311 |
// Function to handle adding an item to the cart
|
312 |
+
function addToCart(item.Name, price, image) {
|
313 |
if (cart[item.Name]) {
|
314 |
cart[item.Name].quantity += 1;
|
315 |
} else {
|