HomeAssetsEmailsRight before consumption trigger

Right before consumption trigger

Right before consumption template is special because of unique content which is offering to customers based on their preferences, personalization and previous behavior. This means that every customer is receiving different content. The template is using these special Mustache:

 

Main products

  • {{fmcg*_title}}
  • {{fmcg*_price}}
  • {{fmcg*_price_before}}
  • {{fmcg*_url}}
  • {{fmcg*_image}}
  • {{fmcg*_brand}}
  • {{fmcg*_description}}

*=1,2,3,4

 

Personalised complements

  • {{complement*_title}}
  • {{complement*_price}}
  • {{complement*_price_before}}
  • {{complement*_url}}
  • {{complement*_image}}
  • {{complement*_brand}}
  • {{complement*_description}}

*=1,2

In order to add more placeholders/products to the template, you will also have to divide them using special “IF” tags, like so:

Product1
{{#fmcg2_title}}
Product 2
{{/fmcg2_title}} {{#fmcg3_title}}
Product 3
{{/fmcg3_title}} {{#fmcg4_title}}
Product 4
{{/fmcg4_title}}

You can see the practical example in the default Yottly template – pay attention to the “IF” tags, as mentioned above:

Was this article helpful to you? Yes No