Hi,
i open again this post just to improve the print of the invoice.
I have this address_template
<?php
/**
* @package HikaShop for Joomla!
* @version 2.6.0
* @author hikashop.com
* @copyright (C) 2010-2015 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?>{address_company}
{address_title} {address_firstname} {address_lastname}
{address_street}
{address_street2}
{ulterioriinfo}
{address_post_code} {address_city} {address_state}
{address_country}
<?php echo JText::sprintf('TELEPHONE_IN_ADDRESS','{address_telephone}');?><br />
<?php echo JText::sprintf('ADDRESS_VAT','{address_vat}');?><br />
<?php echo JText::sprintf('COD_FISC','{cod_fisc}');?><br />
I'd like to avoid the stamp if a custom fild is empty.
I mean that sometimes i don't have the "addreess_vat" and the "cod_fis" fields.
So when i print the invoice i'd like to jump them and to do not print the line empty.
How can i change the code to fix that?
Thanks a lot
Best regards