nagasurendra commited on
Commit
f844bb0
·
verified ·
1 Parent(s): 995061b

Update cart.py

Browse files
Files changed (1) hide show
  1. cart.py +1 -1
cart.py CHANGED
@@ -104,7 +104,7 @@ def cart():
104
  print(f"Error fetching cart items: {e}")
105
  return render_template("cart.html", cart_items=[], subtotal=0, reward_points=0, coupons=[], suggestions=[])
106
 
107
- @cart_blueprint.route("/cart/add_suggestion_to_cart", methods=["POST"])
108
  def add_suggestion_to_cart():
109
  try:
110
  # Get data from the request
 
104
  print(f"Error fetching cart items: {e}")
105
  return render_template("cart.html", cart_items=[], subtotal=0, reward_points=0, coupons=[], suggestions=[])
106
 
107
+ @cart_blueprint.route("/add_suggestion_to_cart", methods=["POST"])
108
  def add_suggestion_to_cart():
109
  try:
110
  # Get data from the request