Click or drag to resize
ECommerceHelperTrackAddToShoppingCartConversion Method
Tracks add to shopping cart conversion.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
public static void TrackAddToShoppingCartConversion(
	ShoppingCartItemInfo product,
	string name = null
)

Parameters

product
Type: CMS.EcommerceShoppingCartItemInfo
Product for which the adding to the shopping cart should be tracked.
name (Optional)
Type: SystemString
Add to shopping cart conversion name. If it is set, it is used instead of the 'Add to shopping cart' conversion name from the settings.
See Also