JS Array Test

PHOTO EMBED

Thu Jan 18 2024 19:05:13 GMT+0000 (Coordinated Universal Time)

Saved by @montezh2001

instance.vars.offer1SubjectLine = "<% var firstNameModified = ''; if (recipient.firstName !== '') {firstNameModified = ', ' + recipient.firstName;}%>Last Chance to Unlock $7 Walgreens Cash on Your Next Rx Pickup";
instance.vars.offer1PreviewText = "<% var firstNameModified = ''; if (recipient.firstName !== '') {firstNameModified = ', ' + recipient.firstName;}%>Fill Your Rx by 6/8 for Rewards!";
instance.vars.offer2SubjectLine = "<% var firstNameModified = ''; if (recipient.firstName !== '') {firstNameModified = ', ' + recipient.firstName;}%>Last Chance to Unlock $15 Walgreens Cash on Your Next Rx Pickup";
instance.vars.offer2PreviewText = "<% var firstNameModified = ''; if (recipient.firstName !== '') {firstNameModified = ', ' + recipient.firstName;}%>Fill Your Rx by 6/8 for Rewards!";
instance.vars.offer3SubjectLine = "<% var firstNameModified = ''; if (recipient.firstName !== '') {firstNameModified = ', ' + recipient.firstName;}%>We're making it easy to refill your Rx order";
instance.vars.offer3PreviewText = "Select free 1-2 day shipping on your next perscription";
instance.vars.getOption = getOption ('mdhCounter'); 


logInfo("Offer 1 Subject Line - " + instance.vars.offer1SubjectLine);
logInfo("Offer 2 Subject Line - " + instance.vars.offer2SubjectLine);
logInfo("Offer 3 Subject Line - " + instance.vars.offer3SubjectLine);
logInfo("Offer 1 Preview Text - " + instance.vars.offer1PreviewText);
logInfo("Offer 2 Preview Text - " + instance.vars.offer2PreviewText);
logInfo("Offer 3 Preview Text - " + instance.vars.offer3PreviewText);
logInfo ("Option = " + instance.vars.getOption);
content_copyCOPY