Click or drag to resize
OnlineMarketingTransformationFunctionsPurchasedProduct Method
Returns true if the contact purchased specified product or its variant.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 9.0.0
Syntax
C#
public static bool PurchasedProduct(
	Object contact,
	Guid skuGuid,
	int lastXDays
)

Parameters

contact
Type: SystemObject
Contact which should be checked
skuGuid
Type: SystemGuid
GUID of the SKU
lastXDays
Type: SystemInt32
Constraint for last X days (if zero or negative value is given, no constraint is applied)

Return Value

Type: Boolean
See Also