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

#   call plugin on order display administrator and custom fields

##

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

Less More

- Posts: 8
- Thank you received: 0
-
-

9 years 2 weeks ago [\#280212](#280212) by [Skelgaard](/forum/user/40730-skelgaard "View Skelgaard's Profile")  *[call plugin on order display administrator and custom fields](/forum/31-development/892317-call-plugin-on-order-display-administrator-and-custom-fields#280212 "Hi, is there a method i can call in my plugin to get a shipping plugin to be showed in the administrator order view (/administrator/index.php?option=com&#95;hikashop&amp;ctrl=order&amp;task=edit&amp;cid&#91;&#93;=1) page ?  also is there a way i can check or even create a custom field upon running a plugin, so that i can make sure the custom fields i need, exists and if not just create them automatic ?  regards Jesper")* was created by *[Skelgaard](/forum/user/40730-skelgaard "View Skelgaard's Profile")*

Hi,
is there a method i can call in my plugin to get a shipping plugin to be showed in the administrator order view (/administrator/index.php?option=com_hikashop&amp;ctrl=order&amp;task=edit&amp;cid[]=1) page ?

also is there a way i can check or even create a custom field upon running a plugin, so that i can make sure the custom fields i need, exists and if not just create them automatic ?

regards
Jesper

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg5MjMxNy1jYWxsLXBsdWdpbi1vbi1vcmRlci1kaXNwbGF5LWFkbWluaXN0cmF0b3ItYW5kLWN1c3RvbS1maWVsZHM/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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14266
-
-

9 years 2 weeks ago [\#280246](#280246) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[call plugin on order display administrator and custom fields](/forum/31-development/892317-call-plugin-on-order-display-administrator-and-custom-fields#280246 "Hi, is there a method i can call in my plugin to get a shipping plugin to be showed in the administrator order view (/administrator/index.php?option=com&#95;hikashop&amp;ctrl=order&amp;task=edit&amp;cid&#91;&#93;=1) page ?  also is there a way i can check or even create a custom field upon running a plugin, so that i can make sure the custom fields i need, exists and if not just create them automatic ?  regards Jesper")*

Hi,

Yes. The Display API triggers onHikashopBeforeDisplayView(&amp;$view) and onHikashopAfterDisplayView(&amp;$view) are called on all the views of HikaShop, including this one:
[ www.hikashop.com/support/documentation/6...ntation.html#display](https://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html#display)
So you can implement these triggers, check the current controller and task in the URL or in the $view object and then add your HTML where you want.

The following user(s) said Thank You: [Skelgaard](/forum/user/40730-skelgaard "View Skelgaard's Profile")

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

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

Less More

- Posts: 8
- Thank you received: 0
-
-

9 years 2 weeks ago -  9 years 2 weeks ago [\#280259](#280259) by [Skelgaard](/forum/user/40730-skelgaard "View Skelgaard's Profile")  Replied by *[Skelgaard](/forum/user/40730-skelgaard "View Skelgaard's Profile")* on topic *[call plugin on order display administrator and custom fields](/forum/31-development/892317-call-plugin-on-order-display-administrator-and-custom-fields#280259 "Hi, is there a method i can call in my plugin to get a shipping plugin to be showed in the administrator order view (/administrator/index.php?option=com&#95;hikashop&amp;ctrl=order&amp;task=edit&amp;cid&#91;&#93;=1) page ?  also is there a way i can check or even create a custom field upon running a plugin, so that i can make sure the custom fields i need, exists and if not just create them automatic ?  regards Jesper")*

hi nicolas,
thanx that answers one of two questions ![:)](/media/kunena/emoticons/8.png ":)")
can you answer the other also ?

Last edit: 9 years 2 weeks ago by [Skelgaard](/forum/user/40730-skelgaard "View Skelgaard's Profile").

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

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

Less More

- Posts: 8
- Thank you received: 0
-
-

9 years 2 weeks ago [\#280286](#280286) by [Skelgaard](/forum/user/40730-skelgaard "View Skelgaard's Profile")  Replied by *[Skelgaard](/forum/user/40730-skelgaard "View Skelgaard's Profile")* on topic *[call plugin on order display administrator and custom fields](/forum/31-development/892317-call-plugin-on-order-display-administrator-and-custom-fields#280286 "Hi, is there a method i can call in my plugin to get a shipping plugin to be showed in the administrator order view (/administrator/index.php?option=com&#95;hikashop&amp;ctrl=order&amp;task=edit&amp;cid&#91;&#93;=1) page ?  also is there a way i can check or even create a custom field upon running a plugin, so that i can make sure the custom fields i need, exists and if not just create them automatic ?  regards Jesper")*

on onHikashopAfterDisplayView how do i get any config parameters set in the plugin backend from the
var $pluginConfig = array(
'username' =&gt; array('USERNAME', 'input'),
'password' =&gt; array('PASSWORD', 'input'),
'customerid' =&gt; array('CUSTID', 'input'),
'contactid' =&gt; array('CONTID', 'input'),
);
parameter

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg5MjMxNy1jYWxsLXBsdWdpbi1vbi1vcmRlci1kaXNwbGF5LWFkbWluaXN0cmF0b3ItYW5kLWN1c3RvbS1maWVsZHM/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
-
-
-

9 years 1 week ago [\#280309](#280309) 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 *[call plugin on order display administrator and custom fields](/forum/31-development/892317-call-plugin-on-order-display-administrator-and-custom-fields#280309 "Hi, is there a method i can call in my plugin to get a shipping plugin to be showed in the administrator order view (/administrator/index.php?option=com&#95;hikashop&amp;ctrl=order&amp;task=edit&amp;cid&#91;&#93;=1) page ?  also is there a way i can check or even create a custom field upon running a plugin, so that i can make sure the custom fields i need, exists and if not just create them automatic ?  regards Jesper")*

Hi,

For the custom fields, you can check with a MySQL query in the constructor of your plugin class and insert it in the hikashop_field table if missing with another MySQL query and finally add the column with a third MySQL query.
So it sure is possible.

Regarding the plugin parameters it will actually depends on the type of plugin you are using, the best solution will be to directly check the code of our plugins.

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

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

Less More

- Posts: 8
- Thank you received: 0
-
-

9 years 1 week ago [\#280344](#280344) by [Skelgaard](/forum/user/40730-skelgaard "View Skelgaard's Profile")  Replied by *[Skelgaard](/forum/user/40730-skelgaard "View Skelgaard's Profile")* on topic *[call plugin on order display administrator and custom fields](/forum/31-development/892317-call-plugin-on-order-display-administrator-and-custom-fields#280344 "Hi, is there a method i can call in my plugin to get a shipping plugin to be showed in the administrator order view (/administrator/index.php?option=com&#95;hikashop&amp;ctrl=order&amp;task=edit&amp;cid&#91;&#93;=1) page ?  also is there a way i can check or even create a custom field upon running a plugin, so that i can make sure the custom fields i need, exists and if not just create them automatic ?  regards Jesper")*

Regarding the plugin parameters:
i have not found any solutions in any shipping plugins i have been able to use... go an idea which plugin i should look into.

i will look at the sql for the fields, though you should make a hikashop call that can check fields and create them.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg5MjMxNy1jYWxsLXBsdWdpbi1vbi1vcmRlci1kaXNwbGF5LWFkbWluaXN0cmF0b3ItYW5kLWN1c3RvbS1maWVsZHM/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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14266
-
-

9 years 1 week ago [\#280345](#280345) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[call plugin on order display administrator and custom fields](/forum/31-development/892317-call-plugin-on-order-display-administrator-and-custom-fields#280345 "Hi, is there a method i can call in my plugin to get a shipping plugin to be showed in the administrator order view (/administrator/index.php?option=com&#95;hikashop&amp;ctrl=order&amp;task=edit&amp;cid&#91;&#93;=1) page ?  also is there a way i can check or even create a custom field upon running a plugin, so that i can make sure the custom fields i need, exists and if not just create them automatic ?  regards Jesper")*

Hi,

We thought that you were talking about custom fields that you can create via the menu Display&gt;Custom fields. If you're talking about fields that you want to add to a random view and not go through the standard custom field system of HikaShop, then it's something else.

It's really easy to display input fields in a view: Code:

public function onHikashopAfterDisplayView(&amp;$view) { $viewName = $viewObj-&gt;getName(); $layout = $viewObj-&gt;getLayout(); if($viewName == 'order' &amp;&amp; $layout == 'edit') echo 'my additional HTML with my input fields'; }

That will display input fields in the view.

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

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

Less More

- Posts: 8
- Thank you received: 0
-
-

9 years 1 week ago [\#280363](#280363) by [Skelgaard](/forum/user/40730-skelgaard "View Skelgaard's Profile")  Replied by *[Skelgaard](/forum/user/40730-skelgaard "View Skelgaard's Profile")* on topic *[call plugin on order display administrator and custom fields](/forum/31-development/892317-call-plugin-on-order-display-administrator-and-custom-fields#280363 "Hi, is there a method i can call in my plugin to get a shipping plugin to be showed in the administrator order view (/administrator/index.php?option=com&#95;hikashop&amp;ctrl=order&amp;task=edit&amp;cid&#91;&#93;=1) page ?  also is there a way i can check or even create a custom field upon running a plugin, so that i can make sure the custom fields i need, exists and if not just create them automatic ?  regards Jesper")*

well yes and no... that part i have working... but within that, i need to get some of the variables defined in the screenshot attached

they have been defined like this Code:

class plgHikaShopshippingCustom extends hikashopShippingPlugin { var $multiple = true; var $name = 'custom'; var $doc_form = 'custom'; var $pluginConfig = array( 'username' =&gt; array('USERNAME', 'input'), 'password' =&gt; array('PASSWORD', 'input'), 'customerid' =&gt; array('CUSTID', 'input'), 'contactid' =&gt; array('CONTID', 'input'), );

so now i need to get to that info that the user admin have added in the configuration in the plugin ![:)](/media/kunena/emoticons/8.png ":)")
[ ![1.PNG](/forum/attachment/40857) ](/forum/attachment/40857 "1.PNG")

- [ ![1.PNG](/forum/attachment/40857) ](/forum/attachment/40857 "1.PNG") [ ](/forum/attachment/40857?download=1 "1.PNG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg5MjMxNy1jYWxsLXBsdWdpbi1vbi1vcmRlci1kaXNwbGF5LWFkbWluaXN0cmF0b3ItYW5kLWN1c3RvbS1maWVsZHM/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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14266
-
-

9 years 1 week ago [\#280370](#280370) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[call plugin on order display administrator and custom fields](/forum/31-development/892317-call-plugin-on-order-display-administrator-and-custom-fields#280370 "Hi, is there a method i can call in my plugin to get a shipping plugin to be showed in the administrator order view (/administrator/index.php?option=com&#95;hikashop&amp;ctrl=order&amp;task=edit&amp;cid&#91;&#93;=1) page ?  also is there a way i can check or even create a custom field upon running a plugin, so that i can make sure the custom fields i need, exists and if not just create them automatic ?  regards Jesper")*

Hi,

So it looks like you're developing a shipping plugin.

In that case, you can use such code: Code:

$shippingClass = hikashop_get('class.shipping'); $shipping = $shippingClass-&gt;get($view-&gt;order-&gt;order_shipping_id); echo $shipping-&gt;shipping_params-&gt;customerid;

That will display the value you entered in the "customerid" field of the shipping method selected in the order on the order page of the backend.

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

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

Less More

- Posts: 8
- Thank you received: 0
-
-

9 years 1 week ago [\#280434](#280434) by [Skelgaard](/forum/user/40730-skelgaard "View Skelgaard's Profile")  Replied by *[Skelgaard](/forum/user/40730-skelgaard "View Skelgaard's Profile")* on topic *[call plugin on order display administrator and custom fields](/forum/31-development/892317-call-plugin-on-order-display-administrator-and-custom-fields#280434 "Hi, is there a method i can call in my plugin to get a shipping plugin to be showed in the administrator order view (/administrator/index.php?option=com&#95;hikashop&amp;ctrl=order&amp;task=edit&amp;cid&#91;&#93;=1) page ?  also is there a way i can check or even create a custom field upon running a plugin, so that i can make sure the custom fields i need, exists and if not just create them automatic ?  regards Jesper")*

thanx got access to the shipping_params and that is working ![:)](/media/kunena/emoticons/8.png ":)")

now about checking the fields in mysql, i did Code:

$db = JFactory::getDbo(); $query = $db-&gt;getQuery(true); $query-&gt;select($db-&gt;quoteName('field_realname')) -&gt;from($db-&gt;quoteName('#__hikashop_field')) -&gt;where($db-&gt;quoteName('field_realname') . ' = '. $db-&gt;quote('pakkeshop')) -&gt;andwhere($db-&gt;quoteName('field_table') . ' = '. $db-&gt;quote('order')) ; $db-&gt;setQuery($query); if ($db-&gt;loadResult() === null) { $query = $db-&gt;getQuery(true); $query-&gt;clear(); $db-&gt;setQuery("INSERT INTO &#96;hjemmebryg_hikashop_field&#96; (&#96;field_table&#96;, &#96;field_realname&#96;, &#96;field_namekey&#96;, &#96;field_type&#96;, &#96;field_value&#96;, &#96;field_published&#96;, &#96;field_ordering&#96;, &#96;field_options&#96;, &#96;field_core&#96;, &#96;field_required&#96;, &#96;field_default&#96;, &#96;field_access&#96;, &#96;field_categories&#96;, &#96;field_with_sub_categories&#96;, &#96;field_products&#96;, &#96;field_frontcomp&#96;, &#96;field_backend&#96;, &#96;field_backend_listing&#96;, &#96;field_display&#96;) VALUES('order', 'GLS Pakkeshop ID', 'pakkeshop', 'text', '', 1, 4, 'a:16:{s:15:\"limit_to_parent\";s:0:\"\";s:12:\"errormessage\";s:0:\"\";s:5:\"regex\";s:0:\"\";s:9:\"attribute\";s:0:\"\";s:11:\"placeholder\";s:0:\"\";s:6:\"inline\";s:1:\"0\";s:4:\"cols\";s:0:\"\";s:9:\"filtering\";s:1:\"1\";s:9:\"maxlength\";s:1:\"0\";s:4:\"rows\";s:0:\"\";s:9:\"zone_type\";s:7:\"country\";s:12:\"pleaseselect\";s:1:\"0\";s:4:\"size\";s:0:\"\";s:6:\"format\";s:5:\"d/m/Y\";s:5:\"allow\";s:0:\"\";s:8:\"readonly\";s:1:\"0\";}', 0, 0, '', 'all', 'all', 0, '', 0, 1, 0, ';front_order=0;invoice=0;back_shipping_invoice=0;order_edit=0;mail_order_notif=0;mail_status_notif=0;mail_order_creation=0;mail_admin_notif=0;mail_payment_notif=0;')"); $db-&gt;execute(); }

but i get Code:

1054 - Unknown column 'pakkeshop' in 'field list'

so either there is more needed than adding this, as i can see the field in mysql, but i can't use it from frontend but looks fine in the administrator area

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg5MjMxNy1jYWxsLXBsdWdpbi1vbi1vcmRlci1kaXNwbGF5LWFkbWluaXN0cmF0b3ItYW5kLWN1c3RvbS1maWVsZHM/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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14266
-
-

9 years 1 week ago [\#280463](#280463) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[call plugin on order display administrator and custom fields](/forum/31-development/892317-call-plugin-on-order-display-administrator-and-custom-fields#280463 "Hi, is there a method i can call in my plugin to get a shipping plugin to be showed in the administrator order view (/administrator/index.php?option=com&#95;hikashop&amp;ctrl=order&amp;task=edit&amp;cid&#91;&#93;=1) page ?  also is there a way i can check or even create a custom field upon running a plugin, so that i can make sure the custom fields i need, exists and if not just create them automatic ?  regards Jesper")*

Hi,

Did you add the pakkeshop column in the hikashop_order as Mohamed explained in his previous message ?

> and finally add the column with a third MySQL query

The following user(s) said Thank You: [Skelgaard](/forum/user/40730-skelgaard "View Skelgaard's Profile")

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

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

Less More

- Posts: 8
- Thank you received: 0
-
-

9 years 1 week ago [\#280464](#280464) by [Skelgaard](/forum/user/40730-skelgaard "View Skelgaard's Profile")  Replied by *[Skelgaard](/forum/user/40730-skelgaard "View Skelgaard's Profile")* on topic *[call plugin on order display administrator and custom fields](/forum/31-development/892317-call-plugin-on-order-display-administrator-and-custom-fields#280464 "Hi, is there a method i can call in my plugin to get a shipping plugin to be showed in the administrator order view (/administrator/index.php?option=com&#95;hikashop&amp;ctrl=order&amp;task=edit&amp;cid&#91;&#93;=1) page ?  also is there a way i can check or even create a custom field upon running a plugin, so that i can make sure the custom fields i need, exists and if not just create them automatic ?  regards Jesper")*

i thats what i missed... i will try that ![:)](/media/kunena/emoticons/8.png ":)")

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

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

Less More

- Posts: 8
- Thank you received: 0
-
-

9 years 1 week ago [\#280465](#280465) by [Skelgaard](/forum/user/40730-skelgaard "View Skelgaard's Profile")  Replied by *[Skelgaard](/forum/user/40730-skelgaard "View Skelgaard's Profile")* on topic *[call plugin on order display administrator and custom fields](/forum/31-development/892317-call-plugin-on-order-display-administrator-and-custom-fields#280465 "Hi, is there a method i can call in my plugin to get a shipping plugin to be showed in the administrator order view (/administrator/index.php?option=com&#95;hikashop&amp;ctrl=order&amp;task=edit&amp;cid&#91;&#93;=1) page ?  also is there a way i can check or even create a custom field upon running a plugin, so that i can make sure the custom fields i need, exists and if not just create them automatic ?  regards Jesper")*

thanx all... got it all working ![:)](/media/kunena/emoticons/8.png ":)")

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

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

[](#top)
