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