Samrand Hassan
English

Platform · 2025 – 2026

One-call cart for Vue Storefront

Replacing VSF1’s chain of cart requests with a single extend-cart API and a sync-after-write fallback; live since November 2026 as Cart V2.

Vue Storefront 1 updates a cart with several round-trips to Magento: pull, diff, add, update, totals. Each one adds latency and each is a chance to get out of sync. The specification consolidates them into one extend-cart call on the VSF API, wires the response straight into the Vuex store, and keeps a syncAfterWrite() fallback for the cases where server and client disagree.

Shipped

The work started in October 2025 and went live in November 2026 as Cart V2. Adding, updating and removing an item, applying a coupon and merging a guest cart into a signed-in one are each a single call that returns the refreshed cart. A one-page checkout followed, with the option to check out only the items that are still available.

Get in touch

Research collaboration, a talk, or a hard engineering problem — write to me.