On our commerce site we want all users working for the same company to share the same shopping carts.
In our current solution, every cart is connected to exactly one user, which I guess is the normal case.
Mediachase.Commerce.Orders.Cart cart = OrderContext.Current.GetCart(cartName, PrincipalInfo.CurrentPrincipal.GetContactId()); var lineItems = cart.OrderForms[0].LineItems;
So instead of a user shopping cart I need a company shopping cart. Is this possible?
Hi,
To use a shared cart, you can define an unique cart name for the company, like "Epi:ShoppingCart", then all users are using that name for shopping carts action.
On our commerce site we want all users working for the same company to share the same shopping carts.
In our current solution, every cart is connected to exactly one user, which I guess is the normal case.
So instead of a user shopping cart I need a company shopping cart. Is this possible?