Table of Contents
Table of Contents | ||
---|---|---|
|
...
Sanity Figma: to be filled by design team
WL Figma: https://www.figma.com/design/RtD0UFtwuwXx14lbLCAPlr/branch/SjrTCnkEyeTsC3NNQRsno4/Burger-King?node-id=37068-15787&t=fTr0rg2b61XwxMYo-0 (temporary branch)
...
Context
To comply with the government rule requiring bag fee tax information, we need to modify our partners' services to retrieve this data from Sanity and forward it appropriately. We’ll need to show this information in the following applications: POS, DMP, Admin App and Whitelabel App.
...
Why this can be an option:
We think that this can be more simpleThis is simpler, as we don’t need to change fulfillment/packages and then pass down what’s necessary to
partners-service
Partners service will write to dynamo and then persist the value that will be get from
getOrder
queryWe can access Sanity data from there
This flow and solution is the same for Delivery/Restaurant mode (pickup, etc.). Both will reach
partners-service
at the end. We also validate in a PoC bothgraphql
andgateway
flows
...
Still, it’s necessary to check POS per POS, if the cart total considers the fees. Depending on analysis, it may be as a technical debt for POSs repos to enhance the cart total (further development will be needed in order to use bag fees with non partner POSs)
Disregarded alternatives
Create a new property to save bag fee value
...
The current screenshots don’t have the field for delivery. The idea here is to add insights for design team to work on. This is not the final result yet as the design is not finished yet.
Insights for design team
# Option 1 - Nested service mode block
...