Skip to main content

I’m building out a “your order has shipped” email and adding in a section to show the shipping address.  Not all customers have all of the address lines (shipping line 2 being a good example).

 

How can I show that address line for profiles that have it but also not have a blank space for those that don’t?

 

I’m hoping it isn’t a case of building a block for every possible variation of address data held

Hi there @bobbob,

Welcome to the Community!

You will need to use the show/hide setting like the following Your Variable != ""​such as for instance event.extra.ShippingAddress.Address2 != “

That way, it will hide the variable for second line of address.

 

Hope that helped,

Alex
 


Reply