Spaces:
Sleeping
Sleeping
Update templates/order_history.html
Browse files
templates/order_history.html
CHANGED
@@ -126,6 +126,8 @@
|
|
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;
|
|
|
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 |
+
console.log(itemImage)
|
130 |
+
console.log(itemName)
|
131 |
if (!itemPrice || !itemImage || !itemName || !category || !section) {
|
132 |
alert('Missing required item data.');
|
133 |
return;
|