Where is the content of the cart stored

8 years ago
Hey,

I have been looking in the code to find out where the content of the cart is stored, i think i have found the place where a product get into the cart:

this.ShoppingCartService.AddToCart(
                        ShoppingCartTypeEnum.ShoppingCart,
                        pv.ProductVariantId,
                        attributes,
                        customerEnteredPriceConverted,
                        quantity);


But where do it store the items and is it possible to get the content of the cart back when the session is dead ?
Im asking becouse i would like to get the items back in the cart if a user cancel the payment for some reason, if he do that now he will return to a new session and therefor the cart will be empty.


Best Regards

Bjarne Pedersen
Denmark
8 years ago
u have a shoppingCartItem table