restore cart across devices #310

Merged
RecentRunner merged 1 commits from worktree-fix-cart-sessions into main 2026-04-15 15:43:42 -06:00
RecentRunner commented 2026-04-15 15:43:37 -06:00 (Migrated from github.com)

Summary

  • Auto-seeds selectedStoreId from the user's primary store on login when localStorage is empty
  • Cart now loads on any device after sign-in without manual store re-selection

Test plan

  • Log in on device A, add items to cart, log out
  • Log in on a different browser/device with the same account
  • Verify cart items are visible without manually selecting a store
## Summary - Auto-seeds `selectedStoreId` from the user's primary store on login when localStorage is empty - Cart now loads on any device after sign-in without manual store re-selection ## Test plan - [ ] Log in on device A, add items to cart, log out - [ ] Log in on a different browser/device with the same account - [ ] Verify cart items are visible without manually selecting a store
Sign in to join this conversation.