Click or drag to resize
ShoppingServiceLogProductAddedToCartActivity Method
Logs the add to shopping cart activity.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
protected virtual void LogProductAddedToCartActivity(
	ShoppingCartItemInfo item,
	Nullable<int> quantity = null
)

Parameters

item
Type: CMS.EcommerceShoppingCartItemInfo
Item added into shopping cart.
quantity (Optional)
Type: SystemNullableInt32
Amount of items added to the shopping cart. If null, the CartItemUnits of item is logged.
See Also