Home » Developing » Developing in Litium Studio » Litium Studio ECommerce » Shopping cart
Introduction
When a customer click the "buy button" on a Ecommerce site, the selected product is added to his "shopping cart". Programatically, the shopping cart is a location in the current user session, that holds the information about the items that the end customer is intending to buy. The items collected in the shopping cart is later converted into a Order, in the checkout flow.
Therefore, the shopping cart is the location where items that are about to be purchased, and its quantities are held.

Programming with CurrentState.Current.ShoppingCart
By default, each user session will have access to this instance of the Litium.Foundation.Modules.ECommerce.ShoppingCarts.Carts class. This session instance should be used to place all order items, and also to create the final order.
Following sections describe how above methods are implemented and how you should call them.
Comments made
No comments are made
You need to be logged in to make a comment