Skip to content

feat(cart-customer): resolve customer cart on auth check when no cart… - #5202

Open
Eirage-Abid wants to merge 1 commit into
graycoreio:developfrom
Eirage-Abid:feat/cart-customer-resolve-on-auth-check
Open

Eirage-Abid wants to merge 1 commit into
graycoreio:developfrom
Eirage-Abid:feat/cart-customer-resolve-on-auth-check

Conversation

@Eirage-Abid

Copy link
Copy Markdown

… ID is stored

Fixes #4614

PR Checklist

  • [x ] Commit message follows our contributing guidelines
  • [x ] Tests added/updated (for bug fixes/features)
  • Documentation added/updated (for bug fixes/features)

PR Type

  • Bug fix
  • Feature
  • Style update
  • Refactor
  • Test
  • Build
  • CI
  • Docs
  • Performance
  • Other (please describe)

Current behavior

When a logged-in user refreshes the page and there is no cart ID in storage, the cart isn't loaded.

Fixes: #4614
Part of: #

New behavior

When an auth check succeeds and no cart ID is stored, the customer's cart is loaded. Once loaded, its ID is stored, so later auth checks don't refetch it.

Breaking change?

  • Yes
  • No

Additional context

@Eirage-Abid
Eirage-Abid requested a review from a team as a code owner November 25, 2026 19:08

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Resolve cart on login

1 participant