nagasurendra commited on
Commit
5c99c99
·
verified ·
1 Parent(s): a06e7a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -365,7 +365,7 @@ def checkout():
365
  return jsonify({"success": False, "message": "Cart is empty"})
366
 
367
  # Calculate the total price of the order
368
- total_price = sum(item['Price__c'] for item in cart_items) + sum(item['Add_Ons_Price__c'] for item in cart_items)
369
 
370
  # Create the order in Salesforce
371
  order_data = {
 
365
  return jsonify({"success": False, "message": "Cart is empty"})
366
 
367
  # Calculate the total price of the order
368
+ total_price = sum(item['Price__c'] for item in cart_items)
369
 
370
  # Create the order in Salesforce
371
  order_data = {