Spaces:
Runtime error
Runtime error
Update Cart_Page.py
Browse files- Cart_Page.py +1 -1
Cart_Page.py
CHANGED
@@ -243,7 +243,7 @@ def remove_cart_item(item_name):
|
|
243 |
return jsonify({'success': False, 'message': f"An error occurred: {str(e)}"}), 500
|
244 |
|
245 |
|
246 |
-
cart_page.route("/cart/update_quantity", methods=["POST"])
|
247 |
def update_quantity():
|
248 |
data = request.json # Extract JSON data from the request
|
249 |
email = data.get('email')
|
|
|
243 |
return jsonify({'success': False, 'message': f"An error occurred: {str(e)}"}), 500
|
244 |
|
245 |
|
246 |
+
@cart_page.route("/cart/update_quantity", methods=["POST"])
|
247 |
def update_quantity():
|
248 |
data = request.json # Extract JSON data from the request
|
249 |
email = data.get('email')
|