Click or drag to resize
ShoppingCartTrackActivityProductAddedToShoppingCart Method (Int32, String, Int32, String, String, Int32)

Note: This API is now obsolete.

Logs activity "product added to shopping cart".

Namespace: CMS.Ecommerce.Web.UI
Assembly: CMS.Ecommerce.Web.UI (in CMS.Ecommerce.Web.UI.dll) Version: 10.0.0
Syntax
C#
[ObsoleteAttribute("Use TrackActivityProductAddedToShoppingCart(SKUInfo, int) instead.")]
public virtual void TrackActivityProductAddedToShoppingCart(
	int skuId,
	string skuName,
	int contactId,
	string siteName,
	string url,
	int quantity
)

Parameters

skuId
Type: SystemInt32
Product ID
skuName
Type: SystemString
Product name
contactId
Type: SystemInt32
Contact ID
siteName
Type: SystemString
Site name
url
Type: SystemString
URL
quantity
Type: SystemInt32
Quantity
See Also