Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set @Client_ID = AttributeValue("_SubscriberKey")
- set @ItemCode = AttributeValue("ItemCode")
- set @CountofPurchases = LookupRows("Master_Purchases",'ItemCode',@ItemCode, 'Client_ID',@Client_ID)
- if RowCount(@CountofPurchases) > 1
- then
- set @welcomemessage = 'Repeat Shopper'
- else
- set @welcomemessage ='First time buyer'
- endif
Add Comment
Please, Sign In to add comment