Forum Discussion
elena14
11 months agoInfluencer
Personalization with Liquid using purchase events on order level
Hello, I am trying to personalize an email based on purchase event on order level.
Here it says that event properties schema could not be generated for purchase events, but that the nested data is ...
inespais
11 months agoMentor
HI elena14 - if your JSON event data structure is like the one shown above, you will need to use dot notation to access the nested data. Please try the following and see if it works:
To display the name of the first product:
{{purchases[0].properties.products[0].name}}
To display the name of the second product:
{{purchases[0].properties.products[1].name}}
and so on...
Related Content
- 4 months ago
- 12 months ago