geethareddy commited on
Commit
5434905
·
verified ·
1 Parent(s): 8a57edf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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():