Guest User

Untitled

a guest
Dec 10th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. set @Client_ID = AttributeValue("_SubscriberKey")
  2. set @ItemCode = AttributeValue("ItemCode")
  3. set @CountofPurchases = LookupRows("Master_Purchases",'ItemCode',@ItemCode, 'Client_ID',@Client_ID)
  4.  
  5. if RowCount(@CountofPurchases) > 1
  6. then
  7. set @welcomemessage = 'Repeat Shopper'
  8. else
  9. set @welcomemessage ='First time buyer'
  10. endif
Add Comment
Please, Sign In to add comment