Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -278,9 +278,9 @@ def submit_customization_ingredients():
|
|
278 |
'Name': item['name'],
|
279 |
'Price__c': total_price,
|
280 |
'Description__c': f"Add-Ons: {ingredient_names}; Instructions: {item.get('instructions', '')}",
|
281 |
-
'Image1__c':
|
282 |
-
'Veg_NonVeg__c':
|
283 |
-
'Section__c':
|
284 |
})
|
285 |
|
286 |
logger.debug(f"Created new Cart_Item__c for {item['name']}")
|
|
|
278 |
'Name': item['name'],
|
279 |
'Price__c': total_price,
|
280 |
'Description__c': f"Add-Ons: {ingredient_names}; Instructions: {item.get('instructions', '')}",
|
281 |
+
'Image1__c': menu_item.get('image_url', ''),
|
282 |
+
'Veg_NonVeg__c': menu_item.get('veg_nonveg', ''),
|
283 |
+
'Section__c': menu_item.get('section', '')
|
284 |
})
|
285 |
|
286 |
logger.debug(f"Created new Cart_Item__c for {item['name']}")
|