Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -243,12 +243,7 @@ def modal_js():
|
|
| 243 |
totalCostElement.innerText = `Total Cart Cost: $${totalCartCost.toFixed(2)}`;
|
| 244 |
}
|
| 245 |
function proceedToCheckout() {
|
| 246 |
-
|
| 247 |
-
${item.name} (x${item.quantity}) - $${item.totalCost.toFixed(2)}
|
| 248 |
-
Extras: ${item.extras.map(extra => extra.name).join(', ') || 'None'}
|
| 249 |
-
Instructions: ${item.instructions || 'None'}
|
| 250 |
-
`).join('\n');
|
| 251 |
-
alert(`Proceeding to checkout...\n\nCart Summary:\n\n${cartSummary}\n\nTotal Cost: $${totalCartCost.toFixed(2)}`);
|
| 252 |
}
|
| 253 |
// Reset all selected add-ons when opening a new item modal
|
| 254 |
function resetAddOns() {
|
|
|
|
| 243 |
totalCostElement.innerText = `Total Cart Cost: $${totalCartCost.toFixed(2)}`;
|
| 244 |
}
|
| 245 |
function proceedToCheckout() {
|
| 246 |
+
alert("Proceeding to checkout...");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 247 |
}
|
| 248 |
// Reset all selected add-ons when opening a new item modal
|
| 249 |
function resetAddOns() {
|