Skip to main content

Displaying the Order ID on the Invoice

More
11 years 3 months ago #205861 by edizioniromena
-- 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

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

More
11 years 3 months ago - 11 years 3 months ago #205869 by Mohamed Thelji
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: 11 years 3 months ago by nicolas.

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

More
11 years 3 months ago #205990 by edizioniromena
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.

More
11 years 3 months ago #205993 by nicolas
You can use such code:
<?php echo $this->order->order_number; ?>

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

More
11 years 3 months ago #206146 by edizioniromena
Thank you Nicolas.
Bye,
Mattia

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

Time to create page: 0.227 seconds
Powered by Kunena Forum