-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[16.0] Anonymous cart? #1510
Comments
@lmignon gentle ping :) |
@simahawk I'm back from holidays, I'll try to get back to you later this week. |
Hi @simahawk, If you look at the demo app (#1364), there is a That mechanisms either authenticates a known partner, or creates an anonymous partner and sets a cookie to identify it (see the In v14 we had a single partner shared by all anonymous carts. With the new API, we create a new anonymous partner for each visitor that populates the cart: it should be simpler in the end, for instance when different anonymous partners are from different countries or such. The last missing part is the conversion of the anonymous partner into a known partner (and transfer of the cart) upon signin. @qgroulard is working on it these days. The plan for that is in #1428 (comment). |
See also #1368 for the whole authentication story. |
@sbidoul thanks for the summary and the pointers! I'll have a look :) |
In v14 you could create a cart for an anonymous user by using
backend.anonymous_partner_id
.The cart would then be swapped the real customer upon login.
What's the plan for v16?
CC @lmignon
The text was updated successfully, but these errors were encountered: