Update cart.py
Browse files
cart.py
CHANGED
|
@@ -208,7 +208,7 @@ def remove_cart_item(item_name):
|
|
| 208 |
|
| 209 |
@cart_blueprint.route("/update_quantity", methods=["POST"])
|
| 210 |
def update_quantity():
|
| 211 |
-
|
| 212 |
data = request.json # Extract JSON data from the request
|
| 213 |
email = data.get('email')
|
| 214 |
item_name = data.get('item_name')
|
|
|
|
| 208 |
|
| 209 |
@cart_blueprint.route("/update_quantity", methods=["POST"])
|
| 210 |
def update_quantity():
|
| 211 |
+
print("Handling update_quantity request...")
|
| 212 |
data = request.json # Extract JSON data from the request
|
| 213 |
email = data.get('email')
|
| 214 |
item_name = data.get('item_name')
|