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

#   Displaying custom data in the order form (admin)

##

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

Less More

- Posts: 73
- Thank you received: 1
-
-

13 years 10 months ago [\#85237](#85237) by [Ortix](/forum/user/12608-ortix "View Ortix's Profile")  *[Displaying custom data in the order form (admin)](/forum/2-general-talk-about-hikashop/77406-displaying-custom-data-in-the-order-form-admin#85237 "I'm trying to get some data from the DB and display that in the order form in the back-end. The view we're talking about is views-&gt;order-&gt;tmpl-&gt;form.php  Basically I want to get a single row from the database and display some content in the customer box. I wanted to do it quick and dirty for now by implementing a function in the helper file, but what would be the best way to do this?  Thanks in advance :)")* was created by *[Ortix](/forum/user/12608-ortix "View Ortix's Profile")*

I'm trying to get some data from the DB and display that in the order form in the back-end. The view we're talking about is views-&gt;order-&gt;tmpl-&gt;form.php

Basically I want to get a single row from the database and display some content in the customer box. I wanted to do it quick and dirty for now by implementing a function in the helper file, but what would be the best way to do this?

Thanks in advance ![:)](/media/kunena/emoticons/3.png ":)")

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

13 years 10 months ago [\#85280](#85280) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Displaying custom data in the order form (admin)](/forum/2-general-talk-about-hikashop/77406-displaying-custom-data-in-the-order-form-admin#85280 "I'm trying to get some data from the DB and display that in the order form in the back-end. The view we're talking about is views-&gt;order-&gt;tmpl-&gt;form.php  Basically I want to get a single row from the database and display some content in the customer box. I wanted to do it quick and dirty for now by implementing a function in the helper file, but what would be the best way to do this?  Thanks in advance :)")*

Hi,

Modifying files directly are not recommended, you wouldn't be able to update HikaShop without loosing your modification after that.
Modifying the helper file is highly not recommended, for same reasons.

We have a very good plugin system and you can add new blocks in the backend order form using the trigger Code:

onAfterOrderProductsListingDisplay(&amp;$order, $type);

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [Ortix](/forum/user/12608-ortix "View Ortix's Profile")

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

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

Less More

- Posts: 73
- Thank you received: 1
-
-

13 years 10 months ago [\#85302](#85302) by [Ortix](/forum/user/12608-ortix "View Ortix's Profile")  Replied by *[Ortix](/forum/user/12608-ortix "View Ortix's Profile")* on topic *[Displaying custom data in the order form (admin)](/forum/2-general-talk-about-hikashop/77406-displaying-custom-data-in-the-order-form-admin#85302 "I'm trying to get some data from the DB and display that in the order form in the back-end. The view we're talking about is views-&gt;order-&gt;tmpl-&gt;form.php  Basically I want to get a single row from the database and display some content in the customer box. I wanted to do it quick and dirty for now by implementing a function in the helper file, but what would be the best way to do this?  Thanks in advance :)")*

Thanks! I will do that ![:D](/media/kunena/emoticons/1.png ":D")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc3NDA2LWRpc3BsYXlpbmctY3VzdG9tLWRhdGEtaW4tdGhlLW9yZGVyLWZvcm0tYWRtaW4/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.042 seconds

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