Displaying the Order ID on the Invoice

  • Posts: 26
  • Thank you received: 0
9 years 5 months ago #205861

-- HikaShop version -- : 2.4.0

Hi,

I'd like to know how to insert the Order ID on the Invoice. At the moment the system is displaying only the Invoice ID.
Is there a way to display both, the Order ID and the Invoice ID?

Thank you,
Mattia

Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
9 years 4 months ago #205869

Hello Mattia,
To do that you'll have to directly edit the "Invoice" file of the "Order" view of your back-end template via "Hikashop->Display->Views".

Last edit: 9 years 4 months ago by nicolas.

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

  • Posts: 26
  • Thank you received: 0
9 years 4 months ago #205990

Hi Mohamed,

Thank you for the kind and quick answer. Could you please tell me what is the code i have to insert in the invoice view to display the order ID (the order number)?

Thank you again,
Mattia

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
9 years 4 months ago #205993

You can use such code:
<?php echo $this->order->order_number; ?>

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

  • Posts: 26
  • Thank you received: 0
9 years 4 months ago #206146

Thank you Nicolas.
Bye,
Mattia

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

Time to create page: 0.078 seconds
Powered by Kunena Forum