Click or drag to resize
ECommerceContextCurrentShoppingCart Property

Gets or sets the current shopping cart. The cart is retrieved using the GetCurrentShoppingCart method while setting the cart is done by SetCurrentShoppingCart(ShoppingCartInfo) method.

The property is cached per web request and is available only within the context of a web request. The underlying services can be used directly when caching is not required.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
public static ShoppingCartInfo CurrentShoppingCart { get; set; }

Property Value

Type: ShoppingCartInfo
See Also