Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -715,6 +715,7 @@ def cart():
|
|
| 715 |
except Exception as e:
|
| 716 |
print(f"Error fetching cart items: {e}")
|
| 717 |
return render_template("cart.html", cart_items=[], subtotal=0, reward_points=0, coupons=[], suggestions=[])
|
|
|
|
| 718 |
|
| 719 |
@app.route("/cart/add_suggestion_to_cart", methods=["POST"])
|
| 720 |
def add_suggestion_to_cart():
|
|
|
|
| 715 |
except Exception as e:
|
| 716 |
print(f"Error fetching cart items: {e}")
|
| 717 |
return render_template("cart.html", cart_items=[], subtotal=0, reward_points=0, coupons=[], suggestions=[])
|
| 718 |
+
return cart_page()
|
| 719 |
|
| 720 |
@app.route("/cart/add_suggestion_to_cart", methods=["POST"])
|
| 721 |
def add_suggestion_to_cart():
|