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

#   Extra field in own manual shiping plugin

##

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

Less More

- Posts: 45
- Thank you received: 7
-
-

10 years 5 months ago [\#241786](#241786) by [Bprak](/forum/user/34235-bprak "View Bprak's Profile")  *[Extra field in own manual shiping plugin](/forum/31-development/884851-extra-field-in-own-manual-shiping-plugin#241786 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.4  Hi,  I’am developing own manual shipping plugin. I want to add a new field (list) inside shipping method that I’m developing. If customer choose my shipping method extra field should appear. Content of that field will be downloaded form api of other services – so it will be dynamic.  So, when customer click on my shipping method, will see a new list field (it will be list of address to shipping, but it will be downloaded by api). Customer selects one address from list. When the order is made, in confirmation email, that value from new field list will appear. In hikashop orders, that information should also be display (but email is more important).  I spend many hours trying to make that plugin, but I don’t know how to: a) Insert new field in my shipping plugin (in the list of shipping plugins). I try to use onShippingDisplay method but field appear on the top of checkout page. Also when i use that method my, shiping method don’t display at all b) How to pass value from new list field to email and order information in hikashop admin panel.  Thank for your help.")* was created by *[Bprak](/forum/user/34235-bprak "View Bprak's Profile")*

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.4

Hi,

I’am developing own manual shipping plugin. I want to add a new field (list) inside shipping method that I’m developing. If customer choose my shipping method extra field should appear. Content of that field will be downloaded form api of other services – so it will be dynamic.

So, when customer click on my shipping method, will see a new list field (it will be list of address to shipping, but it will be downloaded by api). Customer selects one address from list. When the order is made, in confirmation email, that value from new field list will appear. In hikashop orders, that information should also be display (but email is more important).

I spend many hours trying to make that plugin, but I don’t know how to:
a) Insert new field in my shipping plugin (in the list of shipping plugins). I try to use onShippingDisplay method but field appear on the top of checkout page. Also when i use that method my, shiping method don’t display at all
b) How to pass value from new list field to email and order information in hikashop admin panel.

Thank for your help.

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

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

10 years 5 months ago [\#241811](#241811) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Extra field in own manual shiping plugin](/forum/31-development/884851-extra-field-in-own-manual-shiping-plugin#241811 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.4  Hi,  I’am developing own manual shipping plugin. I want to add a new field (list) inside shipping method that I’m developing. If customer choose my shipping method extra field should appear. Content of that field will be downloaded form api of other services – so it will be dynamic.  So, when customer click on my shipping method, will see a new list field (it will be list of address to shipping, but it will be downloaded by api). Customer selects one address from list. When the order is made, in confirmation email, that value from new field list will appear. In hikashop orders, that information should also be display (but email is more important).  I spend many hours trying to make that plugin, but I don’t know how to: a) Insert new field in my shipping plugin (in the list of shipping plugins). I try to use onShippingDisplay method but field appear on the top of checkout page. Also when i use that method my, shiping method don’t display at all b) How to pass value from new list field to email and order information in hikashop admin panel.  Thank for your help.")*

Hi,

You can't directly add that there.
I would recommend to do it differently:
Use the checkout API to add a new view in the checkout workflow where you would display your selection system based on which shippign method has been selected: [ www.hikashop.com/support/documentation/6...tation.html#checkout](https://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html#checkout)
You can use the onAfterCheckoutStep trigger to store the selection in the session, and then the onBeforeOrderCreate trigger to store it from the session to the order, in order_shipping_params for example. And then you can use onAfterOrderProductsListingDisplay to add the selection in the emails, order details, etc.

I would recommend to look at the envoimoinscher shipping plugin which does all that to handle the selection of the pickup point after the shipping method is selected (so similar to your needs):
[ github.com/HikaShop/hikashop-envoimoinscher](https://github.com/HikaShop/hikashop-envoimoinscher)

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

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

Less More

- Posts: 45
- Thank you received: 7
-
-

10 years 5 months ago [\#242583](#242583) by [Bprak](/forum/user/34235-bprak "View Bprak's Profile")  Replied by *[Bprak](/forum/user/34235-bprak "View Bprak's Profile")* on topic *[Extra field in own manual shiping plugin](/forum/31-development/884851-extra-field-in-own-manual-shiping-plugin#242583 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.4  Hi,  I’am developing own manual shipping plugin. I want to add a new field (list) inside shipping method that I’m developing. If customer choose my shipping method extra field should appear. Content of that field will be downloaded form api of other services – so it will be dynamic.  So, when customer click on my shipping method, will see a new list field (it will be list of address to shipping, but it will be downloaded by api). Customer selects one address from list. When the order is made, in confirmation email, that value from new field list will appear. In hikashop orders, that information should also be display (but email is more important).  I spend many hours trying to make that plugin, but I don’t know how to: a) Insert new field in my shipping plugin (in the list of shipping plugins). I try to use onShippingDisplay method but field appear on the top of checkout page. Also when i use that method my, shiping method don’t display at all b) How to pass value from new list field to email and order information in hikashop admin panel.  Thank for your help.")*

Thank You but I have my checkout on one page, I don’t use steps. I have added new field using onShippingSave. I don’t know how to add value from that filed to email with notification.
I find, that i have to add in html version: Code:

Adress: {VAR:ADRESS}

And add in preload version: Code:

$vars['ADRES'] = ??

How can I pass vale from shipping plugin to $vars in email?
Thank You for help

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

10 years 5 months ago [\#242606](#242606) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Extra field in own manual shiping plugin](/forum/31-development/884851-extra-field-in-own-manual-shiping-plugin#242606 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.4  Hi,  I’am developing own manual shipping plugin. I want to add a new field (list) inside shipping method that I’m developing. If customer choose my shipping method extra field should appear. Content of that field will be downloaded form api of other services – so it will be dynamic.  So, when customer click on my shipping method, will see a new list field (it will be list of address to shipping, but it will be downloaded by api). Customer selects one address from list. When the order is made, in confirmation email, that value from new field list will appear. In hikashop orders, that information should also be display (but email is more important).  I spend many hours trying to make that plugin, but I don’t know how to: a) Insert new field in my shipping plugin (in the list of shipping plugins). I try to use onShippingDisplay method but field appear on the top of checkout page. Also when i use that method my, shiping method don’t display at all b) How to pass value from new list field to email and order information in hikashop admin panel.  Thank for your help.")*

Hi,

In the onShippingSave method of your plugin where do you store the data you receive ?
Normally, I would recommend to store it in $_SESSION
Then, add a onBeforeOrderCreate(&amp;$order,&amp;$do) trigger to your plugin to get the data from $_SESSION and put it in a custom field of the order table in $order-&gt;custom_field (supposing that the column name of your custom order field is custom_field ).
That way, you can easily find your data in $data-&gt;cart-&gt;custom_field in your email.
Since it's only for yourself, you can directly add your php where you want it in the HTML version of the email.
It will be simpler than going through tags.

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

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

Less More

- Posts: 45
- Thank you received: 7
-
-

10 years 4 months ago [\#243005](#243005) by [Bprak](/forum/user/34235-bprak "View Bprak's Profile")  Replied by *[Bprak](/forum/user/34235-bprak "View Bprak's Profile")* on topic *[Extra field in own manual shiping plugin](/forum/31-development/884851-extra-field-in-own-manual-shiping-plugin#243005 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.4  Hi,  I’am developing own manual shipping plugin. I want to add a new field (list) inside shipping method that I’m developing. If customer choose my shipping method extra field should appear. Content of that field will be downloaded form api of other services – so it will be dynamic.  So, when customer click on my shipping method, will see a new list field (it will be list of address to shipping, but it will be downloaded by api). Customer selects one address from list. When the order is made, in confirmation email, that value from new field list will appear. In hikashop orders, that information should also be display (but email is more important).  I spend many hours trying to make that plugin, but I don’t know how to: a) Insert new field in my shipping plugin (in the list of shipping plugins). I try to use onShippingDisplay method but field appear on the top of checkout page. Also when i use that method my, shiping method don’t display at all b) How to pass value from new list field to email and order information in hikashop admin panel.  Thank for your help.")*

1. In onShippingSave method build modal window, that’s shows only when my shipping method was selected. That new window will include new form with list of addresses
2. After user selected address from dropdown list, that value well be stored in $\_SESSION
3. In html email directly read vale from $\_session an write it to email

Code:

function onShippingSave(&amp;$cart, &amp;$methods, &amp;$shipping_id, $warehouse_id = NULL){ print ' &lt;div id="okonoinpost"&gt; &lt;h2&gt;Wybierz paczkomat&lt;/h2&gt; &lt;form id="wybierzpczkomatform" method="post"&gt; &lt;select id="wybranypaczkomatlista" name="wybranypaczkomatlista"&gt; &lt;option&gt;Packzomat 1&lt;/option&gt; &lt;option&gt;Packzomat 2&lt;/option&gt; &lt;option&gt;Packzomat 3&lt;/option&gt; &lt;/select&gt; &lt;input type="submit" value="Zapisz" id="zapiszprzycisk"/&gt; &lt;/form&gt; &lt;/div&gt;'; }

Unfortunately I have two problems:
1. I don’t know how (or where) to put value form my form to $_SESSION, after form was submited. I try many of triggers, but none of them works.
2. onShippingSave method isn’t best solution. That show few times, also when I select different payment method. Maybe I should put my modal window (with form) in another trigger?

Thanks for Yours help.

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

10 years 4 months ago [\#243007](#243007) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Extra field in own manual shiping plugin](/forum/31-development/884851-extra-field-in-own-manual-shiping-plugin#243007 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.4  Hi,  I’am developing own manual shipping plugin. I want to add a new field (list) inside shipping method that I’m developing. If customer choose my shipping method extra field should appear. Content of that field will be downloaded form api of other services – so it will be dynamic.  So, when customer click on my shipping method, will see a new list field (it will be list of address to shipping, but it will be downloaded by api). Customer selects one address from list. When the order is made, in confirmation email, that value from new field list will appear. In hikashop orders, that information should also be display (but email is more important).  I spend many hours trying to make that plugin, but I don’t know how to: a) Insert new field in my shipping plugin (in the list of shipping plugins). I try to use onShippingDisplay method but field appear on the top of checkout page. Also when i use that method my, shiping method don’t display at all b) How to pass value from new list field to email and order information in hikashop admin panel.  Thank for your help.")*

Hi,

Yes, onShippingSave is indeed not ideal because of all the problems you mentioned.
I had expected that.
That's why I recommended you to use the checkout API which is more adapted to what you want to do:
[ www.hikashop.com/forum/development/88485...g-plugin.html#241811](https://www.hikashop.com/forum/development/884851-extra-field-in-own-manual-shiping-plugin.html#241811)
I would recommend to use that.

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

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

Less More

- Posts: 45
- Thank you received: 7
-
-

10 years 4 months ago [\#243044](#243044) by [Bprak](/forum/user/34235-bprak "View Bprak's Profile")  Replied by *[Bprak](/forum/user/34235-bprak "View Bprak's Profile")* on topic *[Extra field in own manual shiping plugin](/forum/31-development/884851-extra-field-in-own-manual-shiping-plugin#243044 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.4  Hi,  I’am developing own manual shipping plugin. I want to add a new field (list) inside shipping method that I’m developing. If customer choose my shipping method extra field should appear. Content of that field will be downloaded form api of other services – so it will be dynamic.  So, when customer click on my shipping method, will see a new list field (it will be list of address to shipping, but it will be downloaded by api). Customer selects one address from list. When the order is made, in confirmation email, that value from new field list will appear. In hikashop orders, that information should also be display (but email is more important).  I spend many hours trying to make that plugin, but I don’t know how to: a) Insert new field in my shipping plugin (in the list of shipping plugins). I try to use onShippingDisplay method but field appear on the top of checkout page. Also when i use that method my, shiping method don’t display at all b) How to pass value from new list field to email and order information in hikashop admin panel.  Thank for your help.")*

I don't want to use many steps in checkout, I'am using all in one view. Checkout API is working only on multisteps, so It will not work in my one page view?

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

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

Less More

- Posts: 45
- Thank you received: 7
-
-

10 years 4 months ago -  10 years 4 months ago [\#243119](#243119) by [Bprak](/forum/user/34235-bprak "View Bprak's Profile")  Replied by *[Bprak](/forum/user/34235-bprak "View Bprak's Profile")* on topic *[Extra field in own manual shiping plugin](/forum/31-development/884851-extra-field-in-own-manual-shiping-plugin#243119 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.4  Hi,  I’am developing own manual shipping plugin. I want to add a new field (list) inside shipping method that I’m developing. If customer choose my shipping method extra field should appear. Content of that field will be downloaded form api of other services – so it will be dynamic.  So, when customer click on my shipping method, will see a new list field (it will be list of address to shipping, but it will be downloaded by api). Customer selects one address from list. When the order is made, in confirmation email, that value from new field list will appear. In hikashop orders, that information should also be display (but email is more important).  I spend many hours trying to make that plugin, but I don’t know how to: a) Insert new field in my shipping plugin (in the list of shipping plugins). I try to use onShippingDisplay method but field appear on the top of checkout page. Also when i use that method my, shiping method don’t display at all b) How to pass value from new list field to email and order information in hikashop admin panel.  Thank for your help.")*

ok, I make workaround, useing checkout.php file. Everything almost works fine, but I can't chose my shipping plugin in payment plugin when I use restrictions in payment plugin (I don;t see my shipping plugin on dropdown list in restrictions of payment)

I try to use ups plugin, but It still don’t work. I see that $main -&gt; shipping_params-&gt;methodsList is empty. What should I do?

Thank You for help

I Add dthis to my shipping plugin: Code:

var $inpost_methods = array( array('key' =&gt; '1', 'code'=&gt;'1', 'name' =&gt; 'Ground', 'countries' =&gt; 'POLAND'), array('key' =&gt; '2', 'code'=&gt;'2','name' =&gt; 'USA') ); var $convertUnit=array( 'kg' =&gt; 'KGS', 'lb' =&gt; 'LBS', 'cm' =&gt; 'CM', 'in' =&gt; 'IN', 'kg2' =&gt; 'kg', 'lb2' =&gt; 'lb', 'cm2' =&gt; 'cm', 'in2' =&gt; 'in', ); function shippingMethods(&amp;$main) { //var_dump($main -&gt; shipping_params-&gt;methodsList); $methods = array(); if (!empty($main -&gt; shipping_params -&gt; methodsList)) { $main -&gt; shipping_params -&gt; methods = unserialize($main -&gt; shipping_params -&gt; methodsList); } if (!empty($main -&gt; shipping_params -&gt; methods)) { foreach ($main-&gt;shipping_params-&gt;methods as $key =&gt; $value) { $selected = null; foreach ($this-&gt;canpar_methods as $canpar) { if ($canpar['name'] == $key) $selected = $canpar; } if ($selected) { $methods[$main-&gt;shipping_id . '-' . $selected['key']] = $selected['name']; } } } return $methods; }

Last edit: 10 years 4 months ago by [Bprak](/forum/user/34235-bprak "View Bprak's Profile").

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

10 years 4 months ago [\#243147](#243147) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Extra field in own manual shiping plugin](/forum/31-development/884851-extra-field-in-own-manual-shiping-plugin#243147 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.4  Hi,  I’am developing own manual shipping plugin. I want to add a new field (list) inside shipping method that I’m developing. If customer choose my shipping method extra field should appear. Content of that field will be downloaded form api of other services – so it will be dynamic.  So, when customer click on my shipping method, will see a new list field (it will be list of address to shipping, but it will be downloaded by api). Customer selects one address from list. When the order is made, in confirmation email, that value from new field list will appear. In hikashop orders, that information should also be display (but email is more important).  I spend many hours trying to make that plugin, but I don’t know how to: a) Insert new field in my shipping plugin (in the list of shipping plugins). I try to use onShippingDisplay method but field appear on the top of checkout page. Also when i use that method my, shiping method don’t display at all b) How to pass value from new list field to email and order information in hikashop admin panel.  Thank for your help.")*

Hi,

That line is wrong:
foreach ($this-&gt;canpar_methods as $canpar) {

it should be:
foreach ($this-&gt;inpost_methods as $canpar) {

Also, it requires that you have a setting to select the methods to use which is stored in the methodsList setting of your plugin.

The following user(s) said Thank You: [Bprak](/forum/user/34235-bprak "View Bprak's Profile")

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

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

Less More

- Posts: 45
- Thank you received: 7
-
-

10 years 4 months ago [\#244072](#244072) by [Bprak](/forum/user/34235-bprak "View Bprak's Profile")  Replied by *[Bprak](/forum/user/34235-bprak "View Bprak's Profile")* on topic *[Extra field in own manual shiping plugin](/forum/31-development/884851-extra-field-in-own-manual-shiping-plugin#244072 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.4  Hi,  I’am developing own manual shipping plugin. I want to add a new field (list) inside shipping method that I’m developing. If customer choose my shipping method extra field should appear. Content of that field will be downloaded form api of other services – so it will be dynamic.  So, when customer click on my shipping method, will see a new list field (it will be list of address to shipping, but it will be downloaded by api). Customer selects one address from list. When the order is made, in confirmation email, that value from new field list will appear. In hikashop orders, that information should also be display (but email is more important).  I spend many hours trying to make that plugin, but I don’t know how to: a) Insert new field in my shipping plugin (in the list of shipping plugins). I try to use onShippingDisplay method but field appear on the top of checkout page. Also when i use that method my, shiping method don’t display at all b) How to pass value from new list field to email and order information in hikashop admin panel.  Thank for your help.")*

Thank You for help, finally I do it differently. If someone, will be interested to integrate InPost services with HikaShop on their web side, you can send me a private message.

The following user(s) said Thank You: [Jerome](/forum/user/80-jerome "View Jerome's Profile")

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

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