Hey All,
wondering if I can send multiple image URLS on the. view product event, and if so would it be an array?
Cheers
Chris
Best answer by saulblum
View originalHey All,
wondering if I can send multiple image URLS on the. view product event, and if so would it be an array?
Cheers
Chris
Best answer by saulblum
View originalYou could create a custom Viewed Product script snippet and send in an array in the JSON body, and then, say, iterate through that array in an email template, or access only certain indices of it.
Hey Saulblum,
Thanks for your response.
I think its worth doing. I see no reason why I cant send an array and then just reference [0] on the main image, if I don’t set a featured_image in the payload.
Looks like arrays are supported in the payload natively.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.