OnlineMarketingTransformationFunctions PurchasedProduct Method Kentico 8.0 API Reference
Returns true if the contact purchased specified product.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

contact
Type: OnlineSystem Object
Contact which should be checked
skuName
Type: OnlineSystem String
Name of the product
lastXDays
Type: OnlineSystem Int32
Constraint for last X days (if zero or negative value is given, no constraint is applied)

Return Value

Type: OnlineBoolean
See Also