Hello @MNgo,
Welcome to the Klaviyo Community!
If you haven’t, I would suggest taking a look at our How to Build Dynamic Blocks in a Flow Email (new editor) and How to Insert a Dynamic Image in an Event-Based Flow Email Help Center articles to learn more about utilizing event data to personalize emails!
From your screenshots, I suspect that your billing address 1 and billing address 2 are not accurately being pulled in because you are using the incorrect variables. Typically, the variables you’ll want to use for billing address 1 and billing address 2 are {{ event.extra.BillingAddress.Address1 }}
and {{ event.extra.BillingAddress.Address2 }}
. or {{ event.extra.billing_address.address1 }}
and {{ event.extra.billing_address.address2 }}
as opposed to what you have of {{ event.extra.BillingAddress1 }}
and {{ event.extra.BillingAddress2 }}
.
In regards to the duplication of these variables, I would suggest checking to make sure you are using the Table Data setting of static versus dynamic. Since if looks like you may be trying to create an order confirmation email, these types of data you’re trying to reference of billing and shipping information would not need to be looped through since they are not stored as an array.
To show or hide your coupon/discount, I would suggest creating an if/else statement for this allow this element to display if it is true, or be hidden if not. If you need further assistance building out your email, I would recommend reaching out to one of our many accredited Klaviyo Partners who often times specialize in email designs as well!
I hope this helps!
David