- Posts: 447
- Thank you received: 20
Cutomise Shipping Invoice
6 years 4 months ago #319050
by davec
Cutomise Shipping Invoice was created by davec
-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.18
Hi
I would like to customise the delivery note. The invoice shows all delivery options etc under additional information but this is missing from the delivery note. Please advise?
Thanks
Dave
-- Joomla version -- : 3.9.18
Hi
I would like to customise the delivery note. The invoice shows all delivery options etc under additional information but this is missing from the delivery note. Please advise?
Thanks
Dave
Please Log in or Create an account to join the conversation.
6 years 4 months ago #319054
by nicolas
Replied by nicolas on topic Cutomise Shipping Invoice
Hi
If you want to display the shipping and payment method on the shipping invoice, you can edit the file order / invoice.php via the menu Display>Views and move the code:
just before the
line near the end.
If you want to display the shipping and payment method on the shipping invoice, you can edit the file order / invoice.php via the menu Display>Views and move the code:
Code:
<tr>
<td>
<?php
if(!empty($this->shipping)) {
echo JText::_('HIKASHOP_SHIPPING_METHOD').' : ';
if(is_string($this->order->order_shipping_method))
echo $this->shipping->getName($this->order->order_shipping_method, $this->order->order_shipping_id);
else
echo implode(', ', $this->order->order_shipping_method);
echo '<br/>';
}
?>
<?php
if(!empty($this->payment)) {
echo JText::_('HIKASHOP_PAYMENT_METHOD').' : '.$this->payment->getName($this->order->order_payment_method,$this->order->order_payment_id);
}
?>
</td>
</tr>
Code:
</tr>
</table>
The following user(s) said Thank You: davec
Please Log in or Create an account to join the conversation.
Time to create page: 0.145 seconds