nagasurendra commited on
Commit
0431b74
·
verified ·
1 Parent(s): a249d37

Update templates/cart.html

Browse files
Files changed (1) hide show
  1. templates/cart.html +1 -1
templates/cart.html CHANGED
@@ -171,7 +171,7 @@
171
 
172
  <script>
173
  // Example function to handle the increase/decrease button clicks
174
- function updateCartQuantity(itemName, action) {
175
  const email = sessionStorage.getItem("userEmail"); // or get from your session
176
  let quantity = parseInt(document.getElementById(`${itemName}-quantity`).innerText); // Current quantity on the page
177
  if (action === 'increase') {
 
171
 
172
  <script>
173
  // Example function to handle the increase/decrease button clicks
174
+ function updateQuantity(itemName, action) {
175
  const email = sessionStorage.getItem("userEmail"); // or get from your session
176
  let quantity = parseInt(document.getElementById(`${itemName}-quantity`).innerText); // Current quantity on the page
177
  if (action === 'increase') {