Click or drag to resize
StrandsScriptGeneratorGetUpdateShoppingCartTrackingScript Method
Returns script which logs "updateschoppingcart" event to the Strands Recommender.

Namespace: CMS.StrandsRecommender.Web.UI
Assembly: CMS.StrandsRecommender.Web.UI (in CMS.StrandsRecommender.Web.UI.dll) Version: 10.0.0
Syntax
C#
public virtual string GetUpdateShoppingCartTrackingScript(
	IEnumerable<string> itemsInCart
)

Parameters

itemsInCart
Type: System.Collections.GenericIEnumerableString
IDs of all items in shopping cart

Return Value

Type: String
Generated JavaScript
Exceptions
ExceptionCondition
ArgumentNullExceptionitemsInCart is null
See Also