{assign var=salutation value=$Address->getAttribute('salutation')} {assign var=firstname value=$Address->getAttribute('firstname')} {assign var=lastname value=$Address->getAttribute('lastname')} {assign var=street_no value=$Address->getAttribute('street_no')} {assign var=zip value=$Address->getAttribute('zip')} {assign var=city value=$Address->getAttribute('city')} {assign var=country value=$Address->getAttribute('country')} {if empty($firstname) && isset($User)} {assign var=firstname value=$User->getAttribute('firstname')} {/if} {if !$firstname} {assign var=firstname value=""} {/if} {if empty($lastname) && isset($User)} {assign var=lastname value=$User->getAttribute('lastname')} {/if} {if !$lastname} {assign var=lastname value=""} {/if} {if !$street_no} {assign var=street_no value=""} {/if} {if !$zip} {assign var=zip value=""} {/if} {if !$city} {assign var=city value=""} {/if} {if !$country} {assign var=country value=""} {/if}