Try our conversational search powered by Generative AI!

Shopping Cart - Token/ID for current (guest) user


How do I find the cart ID for the current guest user?

Oct 03, 2019 17:05

I was able to figure this out, ended up picking up the token from the UserContext.Current.GetCartId method, and then passing in the type of cart I was looking for.

Oct 03, 2019 17:58
Quan Mai - Oct 04, 2019 13:11
There is no such thing as UserContext in Episerver APIs

Are you lookin for this?


Oct 03, 2019 19:40
Praful Jangid - Oct 03, 2019 19:41
Sorry, I am late to the party.
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.