Click or drag to resize
ICurrentShoppingCartStrategy Interface
Represent a strategy used during obtaining visitor's current shopping cart.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
public interface ICurrentShoppingCartStrategy

The ICurrentShoppingCartStrategy type exposes the following members.

Methods
  NameDescription
Public methodAnonymizeShoppingCart
Removes personal information from the shopping cart.
Public methodCartCanBeUsedOnSite
Checks if given shopping cart can be used on given site.
Public methodPreferStoredCart
Decides whether shopping cart specified by cart is 'good enough' for user or an older shopping cart stored in the system should be preferred.
Public methodRefreshCart
Ensures that ShoppingCartInfo does not contain invalid data.
Public methodTakeOverCart
Makes the ShoppingCartInfo owned by the user.
Public methodUserCanTakeOverCart
Checks if user can adopt shopping cart specified by cart.
Top
See Also