nagasurendra commited on
Commit
46bd5c7
·
verified ·
1 Parent(s): 93332f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -1167,11 +1167,11 @@ def checkout():
1167
 
1168
  total_bill = total_price - discount
1169
 
 
1170
  order_details = "\n".join(
1171
- f"{item['Name']} x{item['Quantity__c']} | Base Price: ${item['Price__c']} | "
1172
- f"Add-Ons Price: ${item.get('Add_Ons_Price__c', 0)} | Add-Ons: {item.get('Add_Ons__c', 'None')} | "
1173
- f"Instructions: {item.get('Instructions__c', 'None')} | Image: {item['Image1__c']} | "
1174
- f"Total Price: ${item['Price__c']}" # Add total price for reference
1175
  for item in cart_items
1176
  )
1177
 
 
1167
 
1168
  total_bill = total_price - discount
1169
 
1170
+ # ✅ Store all order details
1171
  order_details = "\n".join(
1172
+ f"{item['Name']} x{item['Quantity__c']} | Add-Ons: {item.get('Add_Ons__c', 'None')} | "
1173
+ f"Instructions: {item.get('Instructions__c', 'None')} | "
1174
+ f"Price: ${item['Price__c']} | Image: {item['Image1__c']}"
 
1175
  for item in cart_items
1176
  )
1177