...
We’ll use the AddOn document from Sanity and add a new toggle and object block (for service modes). This will make our feature generic and independent from the bag solution :(take a look at the Sanity task for more details).
With this suggestion of implementation, we’re getting free all the order flow:
Receipt already implemented for extra items:
The implementation for the added extra item to the “Your cart” section
A modal to edit the extra item
The item added to the cart on the home page
The original “Add extra” feature working (that will give us what was shown above for free):
...
Figma was not made following the application consistency. I talked with our designers and we’ll follow the Upsell feature visual and behavior. Example of the Upsell behavior (visual styles and add/remove from the cart):
...
Layout position for desktop:
Our UX suggested initially something like this:
...