- Posts: 73
- Thank you received: 1
Displaying custom data in the order form (admin)
13 years 8 months ago #85237
by Ortix
Displaying custom data in the order form (admin) was created by Ortix
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->order->tmpl->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
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
Please Log in or Create an account to join the conversation.
13 years 8 months ago #85280
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Displaying custom data in the order form (admin)
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
Regards,
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(&$order, $type);
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: Ortix
Please Log in or Create an account to join the conversation.
13 years 8 months ago #85302
by Ortix
Replied by Ortix on topic Displaying custom data in the order form (admin)
Thanks! I will do that
Please Log in or Create an account to join the conversation.
Time to create page: 0.178 seconds