Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -107,6 +107,7 @@ def generate_custom_dish():
|
|
107 |
cart_item = {
|
108 |
'Name': dish_name,
|
109 |
'Price__c': price,
|
|
|
110 |
'Quantity__c': 1, # Assuming a default quantity of 1 for the custom dish
|
111 |
'Add_Ons__c': '', # Set Add_ons__c to empty
|
112 |
'Add_Ons_Price__c': 0, # Set Add_Ons_Price__c to 0
|
|
|
107 |
cart_item = {
|
108 |
'Name': dish_name,
|
109 |
'Price__c': price,
|
110 |
+
'Base_Price__c': price,
|
111 |
'Quantity__c': 1, # Assuming a default quantity of 1 for the custom dish
|
112 |
'Add_Ons__c': '', # Set Add_ons__c to empty
|
113 |
'Add_Ons_Price__c': 0, # Set Add_Ons_Price__c to 0
|