Click or drag to resize
ICurrentShoppingCartStrategyRefreshCart Method
Ensures that ShoppingCartInfo does not contain invalid data.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
void RefreshCart(
	ShoppingCartInfo cart
)

Parameters

cart
Type: CMS.EcommerceShoppingCartInfo
Shopping cart to refresh.
Remarks
This method is used to remove possibly outdated values from shopping cart. This can happen when the cart is fetched from the database or cache after longer period of time.
See Also