Cutomise Shipping Invoice

  • Posts: 440
  • Thank you received: 20
  • Hikashop Essential
4 years 6 months ago #319050

-- 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 B)

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
4 years 6 months ago #319054

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:

<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>
just before the
</tr>
	</table>
line near the end.

The following user(s) said Thank You: davec

Please Log in or Create an account to join the conversation.

Time to create page: 0.055 seconds
Powered by Kunena Forum