Skip to content

Instantly share code, notes, and snippets.

@naveenvm93
Last active April 11, 2021 16:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save naveenvm93/0def8ca59a9317475d95c6074e918c79 to your computer and use it in GitHub Desktop.
Save naveenvm93/0def8ca59a9317475d95c6074e918c79 to your computer and use it in GitHub Desktop.
%%[
/* Get the order data from data extension */
Set @OrderData = [OrderData]
]%%
<br>
<b>Retrieve First Name:</b><br>
&nbsp;
<div style="text-align: left;">
First Name - {{FirstName}}<br><br>
<b>Retrieve Product Name:</b><br>
{{.dataobject JsonVar type=variable source=@OrderData maxrows=20}}
{{.data}}
{"target":"@OrderData"}
{{/data}}
{{/dataobject}}
{{#each JsonVar}}
{{#if SKU != "104176"}}
Product Name - {{Product_Name}}<br>
{{/if}}
{{/each}}
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment