[Skip to main content](#vessel-content)

#   Displaying the Order ID on the Invoice

##

- **[edizioniromena](/forum/user/35067-edizioniromena "View edizioniromena's Profile")**
- [![edizioniromena's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35067-edizioniromena "View edizioniromena's Profile") Topic Author
- [ Offline](/forum/user/35067-edizioniromena)

Less More

- Posts: 26
- Thank you received: 0
-
-

11 years 4 months ago [\#205861](#205861) by [edizioniromena](/forum/user/35067-edizioniromena "View edizioniromena's Profile")  *[Displaying the Order ID on the Invoice](/forum/36-reports-statistics/877721-displaying-the-order-id-on-the-invoice#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")* was created by *[edizioniromena](/forum/user/35067-edizioniromena "View edizioniromena's Profile")*

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

- [ ![Schermata&#95;2015-06-23&#95;a&#95;12&#95;47&#95;11.png](/forum/attachment/25088) ](/forum/attachment/25088 "...a&#95;12&#95;47&#95;11.png") [ ](/forum/attachment/25088?download=1 "...a&#95;12&#95;47&#95;11.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84Nzc3MjEtZGlzcGxheWluZy10aGUtb3JkZXItaWQtb24tdGhlLWludm9pY2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

11 years 4 months ago -  11 years 4 months ago [\#205869](#205869) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Displaying the Order ID on the Invoice](/forum/36-reports-statistics/877721-displaying-the-order-id-on-the-invoice#205869 "-- 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")*

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-&gt;Display-&gt;Views".

Last edit: 11 years 4 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84Nzc3MjEtZGlzcGxheWluZy10aGUtb3JkZXItaWQtb24tdGhlLWludm9pY2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[edizioniromena](/forum/user/35067-edizioniromena "View edizioniromena's Profile")**
- [![edizioniromena's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35067-edizioniromena "View edizioniromena's Profile") Topic Author
- [ Offline](/forum/user/35067-edizioniromena)

Less More

- Posts: 26
- Thank you received: 0
-
-

11 years 4 months ago [\#205990](#205990) by [edizioniromena](/forum/user/35067-edizioniromena "View edizioniromena's Profile")  Replied by *[edizioniromena](/forum/user/35067-edizioniromena "View edizioniromena's Profile")* on topic *[Displaying the Order ID on the Invoice](/forum/36-reports-statistics/877721-displaying-the-order-id-on-the-invoice#205990 "-- 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")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84Nzc3MjEtZGlzcGxheWluZy10aGUtb3JkZXItaWQtb24tdGhlLWludm9pY2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

11 years 4 months ago [\#205993](#205993) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Displaying the Order ID on the Invoice](/forum/36-reports-statistics/877721-displaying-the-order-id-on-the-invoice#205993 "-- 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")*

You can use such code:
&lt;?php echo $this-&gt;order-&gt;order_number; ?&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84Nzc3MjEtZGlzcGxheWluZy10aGUtb3JkZXItaWQtb24tdGhlLWludm9pY2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[edizioniromena](/forum/user/35067-edizioniromena "View edizioniromena's Profile")**
- [![edizioniromena's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35067-edizioniromena "View edizioniromena's Profile") Topic Author
- [ Offline](/forum/user/35067-edizioniromena)

Less More

- Posts: 26
- Thank you received: 0
-
-

11 years 4 months ago [\#206146](#206146) by [edizioniromena](/forum/user/35067-edizioniromena "View edizioniromena's Profile")  Replied by *[edizioniromena](/forum/user/35067-edizioniromena "View edizioniromena's Profile")* on topic *[Displaying the Order ID on the Invoice](/forum/36-reports-statistics/877721-displaying-the-order-id-on-the-invoice#206146 "-- 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")*

Thank you Nicolas.
Bye,
Mattia

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84Nzc3MjEtZGlzcGxheWluZy10aGUtb3JkZXItaWQtb24tdGhlLWludm9pY2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.051 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
