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

#   How to add more info in Orders informations page

##

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

Less More

- Posts: 12
- Thank you received: 0
-
-

5 years 8 months ago [\#330587](#330587) by [lirimimeri](/forum/user/60924-lirimimeri "View lirimimeri's Profile")  *[How to add more info in Orders informations page](/forum/31-development/902140-how-to-add-more-info-in-orders-informations-page#330587 "Hi.  In my payment plugin, I need to add some additional information, at the Orders page as shown in screenshot.  I have to add informations inside Additional Information section, would be beter even to be able to create a new section there.  I have infos inside the onPaymentNotification, and from onPaymentNotification i should send to Orders page.  Lirim.")* was created by *[lirimimeri](/forum/user/60924-lirimimeri "View lirimimeri's Profile")*

Hi.

In my payment plugin, I need to add some additional information, at the Orders page as shown in screenshot.

[ ![Untitled.png](/forum/attachment/52242) ](/forum/attachment/52242 "Untitled.png")

I have to add informations inside Additional Information section, would be beter even to be able to create a new section there.

I have infos inside the onPaymentNotification, and from onPaymentNotification i should send to Orders page.

Lirim.

- [ ![Untitled.png](/forum/attachment/52242) ](/forum/attachment/52242 "Untitled.png") [ ](/forum/attachment/52242?download=1 "Untitled.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50LzkwMjE0MC1ob3ctdG8tYWRkLW1vcmUtaW5mby1pbi1vcmRlcnMtaW5mb3JtYXRpb25zLXBhZ2U/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: 86541
- Thank you received: 14304
-
-

5 years 8 months ago [\#330598](#330598) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to add more info in Orders informations page](/forum/31-development/902140-how-to-add-more-info-in-orders-informations-page#330598 "Hi.  In my payment plugin, I need to add some additional information, at the Orders page as shown in screenshot.  I have to add informations inside Additional Information section, would be beter even to be able to create a new section there.  I have infos inside the onPaymentNotification, and from onPaymentNotification i should send to Orders page.  Lirim.")*

Hi,

It's not possible for a plugin to add its information to the additional area.
However, it is possible to create new areas with its information.
To do that, you can implement the trigger onAfterOrderProductsListingDisplay(&amp;$order, $viewName) in your plugin.
$order will contain the data of the current order and $viewName will contain the name of the view which in this case will be "order_back_show".
You can directly echo HTML in that function and it will be displayed between the products listing and the history listing on this page.

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

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

Less More

- Posts: 12
- Thank you received: 0
-
-

5 years 8 months ago [\#330649](#330649) by [lirimimeri](/forum/user/60924-lirimimeri "View lirimimeri's Profile")  Replied by *[lirimimeri](/forum/user/60924-lirimimeri "View lirimimeri's Profile")* on topic *[How to add more info in Orders informations page](/forum/31-development/902140-how-to-add-more-info-in-orders-informations-page#330649 "Hi.  In my payment plugin, I need to add some additional information, at the Orders page as shown in screenshot.  I have to add informations inside Additional Information section, would be beter even to be able to create a new section there.  I have infos inside the onPaymentNotification, and from onPaymentNotification i should send to Orders page.  Lirim.")*

Hi,

Is there any way to insert some data in $order object from onPaymentNotification and to access them in $order object in onAfterOrderProductsListingDisplay(&amp;$order, $viewName) function, or any other way to access data from onPaymentNotification(&amp;$statuses) to onAfterOrderProductsListingDisplay(&amp;$order, $viewName) function.

Thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50LzkwMjE0MC1ob3ctdG8tYWRkLW1vcmUtaW5mby1pbi1vcmRlcnMtaW5mb3JtYXRpb25zLXBhZ2U/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: 86541
- Thank you received: 14304
-
-

5 years 8 months ago [\#330658](#330658) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to add more info in Orders informations page](/forum/31-development/902140-how-to-add-more-info-in-orders-informations-page#330658 "Hi.  In my payment plugin, I need to add some additional information, at the Orders page as shown in screenshot.  I have to add informations inside Additional Information section, would be beter even to be able to create a new section there.  I have infos inside the onPaymentNotification, and from onPaymentNotification i should send to Orders page.  Lirim.")*

Hi,

Sure. First you could create your own table and store your data there along with the order_id so that you could then read it later it using the order_id for reference.
Otherwise, you could also store your data in the order_payment_params column of hikashop_order like that: Code:

$params = $order-&gt;order_payment_params; $params-&gt;my_data = new stdClass(); $params-&gt;my_data-&gt;blabla = 'text text'; $orderObject = new stdClass(); $orderObject-&gt;order_id = $order-&gt;order_id; $orderObject-&gt;order_payment_params = $params; $class = hikashop_get('class.order'); $class-&gt;save($orderObject);

In onAfterOrderProductsListingDisplay you should directly have your text in the variable $order-&gt;order_payment_params-&gt;my_data-&gt;blabla

The following user(s) said Thank You: [lirimimeri](/forum/user/60924-lirimimeri "View lirimimeri's Profile")

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

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