Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1070,7 +1070,8 @@ def checkout():
|
|
| 1070 |
else:
|
| 1071 |
# If no coupon is selected, add reward points
|
| 1072 |
reward_points_to_add = total_price * 0.10 # Example: 10% reward points
|
| 1073 |
-
print(f"Reward Points to Add: {reward_points_to_add}")
|
|
|
|
| 1074 |
|
| 1075 |
# Fetch current reward points
|
| 1076 |
customer_record = sf.query(f"""
|
|
|
|
| 1070 |
else:
|
| 1071 |
# If no coupon is selected, add reward points
|
| 1072 |
reward_points_to_add = total_price * 0.10 # Example: 10% reward points
|
| 1073 |
+
print(f"Reward Points to Add: {reward_points_to_add}")
|
| 1074 |
+
discount = 0# Debugging reward points
|
| 1075 |
|
| 1076 |
# Fetch current reward points
|
| 1077 |
customer_record = sf.query(f"""
|