cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic image in email content Hybris

arturojim
Discoverer
0 Kudos

Hi,

How can I personalize images on Hybris Mkt in the emails used for campaigns? For example, in my content I want a cat´s image to be displayed for contacts having a cat and a dog one for contacts with a dog. I consulted this link https://help.sap.com/doc/7e8a3065140949ffa7c5ff4053c3ac7a/1802%20YMKT/en-US/23/1b2755c72aaf25e100000... but it is not clear on how attributes must be tied to a URL link ... I mean, is this possible with any option other than conditions?

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member196553
Active Contributor

Hello Arturo,

you can build the dynamic images using conditions - please refer to the following sample containing conditions based on the gender attribute:


There are the following mails sent - for female, male and unknown recipient:

A similar approach is documented in the online help as well:

Using Conditions in Messages

You might need to create a custom attribute containing the 'cat' and 'dog' value used for the condition. Please refer to the following KBA note for further details:

2694769 - SAP Marketing: Custom Fields not available for Personalization Attributes in Emails

I hope this approach will work for your business scenario.

best regards,

Johannes

arturojim
Discoverer
0 Kudos

Hi Johannes,

Thanks for your answer. My only question now is: do I have to insert the different images in different blocks, and then, for example, insert a condition just allowing my first image to appear (as in the example you stated) to men... Or can I insert them in one single block?