Spaces:
Sleeping
Sleeping
Update templates/cart.html
Browse files- templates/cart.html +1 -1
templates/cart.html
CHANGED
@@ -413,7 +413,7 @@
|
|
413 |
let selectedCoupon = couponDropdown.value.trim(); // Get selected coupon from the dropdown
|
414 |
|
415 |
// If no coupon is selected, alert the user
|
416 |
-
if (
|
417 |
alert("Please select a valid coupon before proceeding.");
|
418 |
return;
|
419 |
}
|
|
|
413 |
let selectedCoupon = couponDropdown.value.trim(); // Get selected coupon from the dropdown
|
414 |
|
415 |
// If no coupon is selected, alert the user
|
416 |
+
if (selectedCoupon === "None" || selectedCoupon === "Null") {
|
417 |
alert("Please select a valid coupon before proceeding.");
|
418 |
return;
|
419 |
}
|