Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

Design:

https://www.figma.com/file/RtD0UFtwuwXx14lbLCAPlr/branch/4JKHiBl13JOyOqh88dSPkV/Burger-King?type=design&node-id=20699%3A1728&mode=design&t=snkjlf1tdYTggafv-1

image-20240215-224731.png

Backend:

tiered-delivery-fees

{
"0":{
"app":{
"discount":0,
"serviceFeeDiscount":0,
"fee":199,
"serviceFee":100
}
},
"10":{
"app":{
"discount":99,
"serviceFeeDiscount":50,
"fee":199,
"serviceFee":100
}
},
"20":{
"app":{
"discount":199,
"serviceFeeDiscount":100,
"fee":199,
"serviceFee":100
}
}
}

Frontend:

MAXIMUM_POTENTIAL_SAVING (E.g: 2.99) :

  • HIGHER TIER (fee + serviceFee - discount - serviceFeediscount) - LOWER TIER (fee +serviceFee - discount - serviceFeeDiscount)

    • Pros: More flexible.

    • Cons: More calculations to handle different tiers / more efforts/ new fee interface changes

DMP and Homeria are Delivery fee source of truth. Therefore, LD need to be in sync with them to avoid inconsistences of the information

THRESHOLD( E.g: 20.00) → Possible solutions:

AMOUNT_AWAY_FROM_MAXIMUM_SAVINGS (E.g.: 8.00 ) →

  • Threshold - (requestedAmountCents OR (subTotalCents + taxCents))

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.