ShoppingServiceLogProductAddedToCartActivity Method |
Logs the add to shopping cart activity.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax 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