Sitecore 8.1: I would like to send a unique discount code for individual customers using the Sitecore 8.1 Email Manager. How can i do this?

I searched the Internet and did not find the answer. So I hope someone can help me!

I am using Sitecore 8.1 at the moment, and I had a problem inserting a unique discount code into my email template so that each individual client could receive a different code.

Can someone tell me if Sitecore 8.1 supports the following:

  • I can do this by setting a “discount field” in the email template so that it can call the CSV file containing various discount codes and match them with this discount field. After that, when I try to pull out the letter, can I again compare the discount field with the recipient field and make sure that each client receives a unique discount code?

  • If not, can someone suggest an alternative method for me?

Thank you so much!

enter image description here

+4
source share
1 answer

For this scenario, I would use a custom token in your email to display the discount code.

eg. Dear xxx, Your discount code is $ discountcode $

, xDB.

, :

  • getXdbContactRecipient EXM Config .

:

https://blog.horizontalintegration.com/2015/07/01/exm-token-replacement-in-messages-with-a-contact-custom-field/

+2

Source: https://habr.com/ru/post/1651243/


All Articles