nagasurendra commited on
Commit
c2f0ddd
·
verified ·
1 Parent(s): b2bc4c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -297,7 +297,7 @@ def update_quantity():
297
  addons_price = 0 # Default to 0 if parsing fails
298
 
299
  # Calculate the new price
300
- new_price = (base_price * quantity) + addons_price
301
 
302
  # Update the record in Salesforce
303
  sf.Cart_Item__c.update(cart_item_id, {
 
297
  addons_price = 0 # Default to 0 if parsing fails
298
 
299
  # Calculate the new price
300
+ new_price = (base_price * quantity) + addons_price
301
 
302
  # Update the record in Salesforce
303
  sf.Cart_Item__c.update(cart_item_id, {