This email is sent to members that renew or update their member data.
Here is an inside look of the code. I am using the JSON data that is provided in the payload to help render the email
This is the email after it is triggered. A coupon and 'related' product section appears at the bottom. Coupon will disappear after the promotional date. The related product content is dynamic based off of what Girl Scout grade level they will be renewing for. This view is for girls renewing as Cadettes, Seniors or Ambassadors.
This is another example of multiple persons and/or order lines in one transaction. There is also a screenshot of the JSON data that is used to render the email. At the bottom of the email you see the coupon and related product content is different. Since this is a brand-new member and their member data doesn't load until the next day, I've provided a more generic product content block.
Since purchased and updated member data comes in the same trigger, I've created a new dynamic version based off of the JSON data if they've only updated their data.