London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

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

Vote:
0

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

#207802
Oct 03, 2019 17:05
Vote:
0

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.

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

Are you lookin for this?

Mediachase.Commerce.Customers.CustomerContext.Current.CurrentContactId

#207808
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.