Rammohan0504 commited on
Commit
0a3b689
·
verified ·
1 Parent(s): 201f229

Update templates/order_history.html

Browse files
Files changed (1) hide show
  1. templates/order_history.html +1 -1
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;