Subbu1304 commited on
Commit
7fee46b
·
verified ·
1 Parent(s): 13fb88c

Update templates/cart.html

Browse files
Files changed (1) hide show
  1. templates/cart.html +1 -0
templates/cart.html CHANGED
@@ -203,6 +203,7 @@
203
  } else if (action === 'decrease' && quantity > 1) {
204
  quantity--;
205
  }
 
206
 
207
  // Validate quantity
208
  if (isNaN(quantity) || quantity < 1) {
 
203
  } else if (action === 'decrease' && quantity > 1) {
204
  quantity--;
205
  }
206
+ quantityInput.value = quantity;
207
 
208
  // Validate quantity
209
  if (isNaN(quantity) || quantity < 1) {