Hi,
i would like to display correct information on my address template and for that i was thinking to test first if data are available, if not, i do not display anything.
for example, if user typed 2 addresses (1 for company, 1 personal), i want firstly to test if 1 address is has a company name, so i was thinking to use the following code:
<?php if($this->address_company){ ?>
<tr><td>Company:</td><td>{address_company}</td></tr>
<?php }; ?>
in my address_template view, however in case, client typed 1 address for company (with company name) and 1 address for personal usage... in both case the company name is not displayed.
so what is it wrong ?
thx.
A.