Hi Nicolas,
I saw that you changed the code in version 4.4.0 from:
<?php $address = $this->params->get('address');
if(!empty($address->address_telephone)) {
echo JText::sprintf('TELEPHONE_IN_ADDRESS','{address_telephone}');
} ?>
to
<?php if(!empty($this->address->address_telephone))
echo JText::sprintf('TELEPHONE_IN_ADDRESS','{address_telephone}');?>
Do you recommend using the new code or should the old one still work?
I have also create a code for the VAT in the address, maybe a good idea for a next version
?
<?php $address = $this->params->get('address');
if(!empty($address->address_vat)) {
echo JText::sprintf('VAT_IN_ADDRESS','{address_vat}');
} ?>