Back to problems

Design a frontend shopping cart and feature flags

System Design · Disney · Medium

Imagine you are responsible for the client-side architecture of a large-scale online shopping platform. Part A — Cart flow (frontend emphasis) Design the full shopping cart interaction across different web sessions and devices. Your design should address: Cart behavior for anonymous visitors and signed-in users, including how a cart can be merged, transferred, or kept separate. How multiple open tabs can view and edit the same cart without corrupting it. How the UI behaves…

Checking your access…