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

Namespace: CMS.StrandsRecommender
Assembly: CMS.StrandsRecommender (in CMS.StrandsRecommender.dll) Version: 8.2.23
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