-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.6
-- Browser(s) name and version -- : Chrome
Hi Hikashop,
I found out the code to add the order number into the (shipping) invoice.
I changed this code from the view: invoice
<?php
if(!empty($this->element->order_invoice_number)) {
echo JText::_('INVOICE').': '.$this->element->order_invoice_number;
} else {
echo JText::_('INVOICE').': '.@$this->element->order_number;
}
?>
to
<?php
if(!empty($this->element->order_invoice_number)) {
echo JText::_('INVOICE').': '.$this->element->order_invoice_number;
} {
echo JText::_('ORDER_NUMBER').': '.@$this->element->order_number;
}
?>
This works fine, but I want to have a break <br/> after the invoice number. And I don't know how to do that.
I constantly get an Parse error: syntax error.
Can you help me to fix the code?
You gave a example on this forum, but this doesn't work:
hikashop.com/forum/4-how-to/81772-have-d...d-order-numbers.html
Kind regards,
Lumiga