Spaces:
Sleeping
Sleeping
Update templates/order_history.html
Browse files
templates/order_history.html
CHANGED
@@ -125,7 +125,7 @@
|
|
125 |
const itemImage = button.dataset.image; // Get image URL from data-image attribute
|
126 |
const category = button.dataset.category; // Get category from data-category attribute
|
127 |
const section = button.dataset.section; // Get section from data-section attribute
|
128 |
-
|
129 |
if (!itemPrice || !itemImage || !itemName || !category || !section) {
|
130 |
alert('Missing required item data.');
|
131 |
return;
|
|
|
125 |
const itemImage = button.dataset.image; // Get image URL from data-image attribute
|
126 |
const category = button.dataset.category; // Get category from data-category attribute
|
127 |
const section = button.dataset.section; // Get section from data-section attribute
|
128 |
+
console.log(itemPrice)
|
129 |
if (!itemPrice || !itemImage || !itemName || !category || !section) {
|
130 |
alert('Missing required item data.');
|
131 |
return;
|