3 weeks ago
Hello,
I'm quite confused going through the Emarsys scripting language documentation.
How do I reference products and contacts? In terms of products, where do I store the product data in Emarsys?
Thanks,
David V.
Request clarification before answering.
If it is still relevant,
For contacts, it is simply {{ contact.fieldnumber }}.
Ex. {{contact.1}} is the first name.
{{contact.37|required}} will be the mobile number and will send the message only if the value isn't empty.
You can know the field number from Management>Field Editor
For products, it depends on the source. If it is from a Webextend cart event or Personalization Rules catalogue. It changes the opening {% foreach %} statement.
It is a good idea to take example from the Abandoned Cart block in the master template.
Hope it helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
22 | |
15 | |
4 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.