Customer journey
Convert
1 article
The customer adds to cart and pays.
Storefront and experience
Horizon's Add-to-Cart Race Handling: Clicking Add While a Variant Switch Is Still Pending
A Horizon 4.2.0 source walkthrough of what happens when a shopper switches variants and clicks add to cart before the section request returns: a ProductSelectEvent carrying a promise, a generation counter, a queue of intent snapshots, pure-function variant resolution, quantity renormalized for the new variant and a single batched POST, plus debatable points such as animating on enqueue.