Last active
April 11, 2021 16:56
-
-
Save naveenvm93/454e7d830f46a2920f20963f642f0976 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%%[ | |
/* Get the order data from data extension */ | |
Set @OrderData = [OrderData] | |
]%% | |
<br> | |
<b>Retrieve First Name:</b><br> | |
| |
<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> | |
{{.datasource JSONexcess type=nested maxRows = 10}} | |
{{.data}} | |
{"target" : "JsonVar.Product_Ratings"} | |
{{/data}} | |
Number_of_Ratings - {{JSONexcess.Number_of_Ratings}}<br> | |
{{/datasource}} | |
{{/if}} | |
{{/each}} | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment