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

#   shipping plugin

##

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

Less More

- Posts: 48
- Thank you received: 0
-
-

7 years 5 months ago [\#307613](#307613) by [ChristianLocal](/forum/user/35348-christianlocal "View ChristianLocal's Profile")  *[shipping plugin](/forum/23-market-how-to/897672-shipping-plugin#307613 "-- HikaShop version -- : 4.1.0 -- HikaMarket version -- : 3.0.2 -- Joomla version -- : 3.9.8 -- PHP version -- : 7.1  Hello, i have a custom shipping plugin that was created for my store and uses a webservice that connects to my distributor. I just purchased Hikamarket and going through the config now. The shipping plugin that i use for my store is showing under the vendor shipping plugin options also. how do i hide my shipping plugins from my vendors but still use it in my store only. thanks")* was created by *[ChristianLocal](/forum/user/35348-christianlocal "View ChristianLocal's Profile")*

-- HikaShop version -- : 4.1.0
-- HikaMarket version -- : 3.0.2
-- Joomla version -- : 3.9.8
-- PHP version -- : 7.1

Hello, i have a custom shipping plugin that was created for my store and uses a webservice that connects to my distributor. I just purchased Hikamarket and going through the config now. The shipping plugin that i use for my store is showing under the vendor shipping plugin options also. how do i hide my shipping plugins from my vendors but still use it in my store only. thanks

[ ![shippingpluginpic.jpg](/forum/attachment/47013) ](/forum/attachment/47013 "...gpluginpic.jpg")

- [ ![shippingpluginpic.jpg](/forum/attachment/47013) ](/forum/attachment/47013 "...gpluginpic.jpg") [ ](/forum/attachment/47013?download=1 "...gpluginpic.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODk3NjcyLXNoaXBwaW5nLXBsdWdpbj90bXBsPW1hcmtkb3du) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

7 years 5 months ago [\#307618](#307618) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[shipping plugin](/forum/23-market-how-to/897672-shipping-plugin#307618 "-- HikaShop version -- : 4.1.0 -- HikaMarket version -- : 3.0.2 -- Joomla version -- : 3.9.8 -- PHP version -- : 7.1  Hello, i have a custom shipping plugin that was created for my store and uses a webservice that connects to my distributor. I just purchased Hikamarket and going through the config now. The shipping plugin that i use for my store is showing under the vendor shipping plugin options also. how do i hide my shipping plugins from my vendors but still use it in my store only. thanks")*

Hello,

One embedded solution would be to use the trigger "onBeforeHikaPluginConfigurationListing($type, &amp;$filters, &amp;$order, &amp;$searchMap, &amp;$extrafilters, &amp;$view)"
You can then add an extra filter (in $filters) when you're in the frontend and the $type is "shipping", so you will exclude your plugin from the listing.
Otherwise you can use a view override but I would not recommend it to you since you have your own and custom plugin.

Regards,

---

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

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

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

Less More

- Posts: 48
- Thank you received: 0
-
-

7 years 5 months ago [\#307650](#307650) by [ChristianLocal](/forum/user/35348-christianlocal "View ChristianLocal's Profile")  Replied by *[ChristianLocal](/forum/user/35348-christianlocal "View ChristianLocal's Profile")* on topic *[shipping plugin](/forum/23-market-how-to/897672-shipping-plugin#307650 "-- HikaShop version -- : 4.1.0 -- HikaMarket version -- : 3.0.2 -- Joomla version -- : 3.9.8 -- PHP version -- : 7.1  Hello, i have a custom shipping plugin that was created for my store and uses a webservice that connects to my distributor. I just purchased Hikamarket and going through the config now. The shipping plugin that i use for my store is showing under the vendor shipping plugin options also. how do i hide my shipping plugins from my vendors but still use it in my store only. thanks")*

Jerome, i would add the code "onBeforeHikaPluginConfigurationListing($type, &amp;$filters, &amp;$order, &amp;$searchMap, &amp;$extrafilters, &amp;$view)" to my shipping plugin and then create the filter?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODk3NjcyLXNoaXBwaW5nLXBsdWdpbj90bXBsPW1hcmtkb3du) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

7 years 5 months ago [\#307663](#307663) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[shipping plugin](/forum/23-market-how-to/897672-shipping-plugin#307663 "-- HikaShop version -- : 4.1.0 -- HikaMarket version -- : 3.0.2 -- Joomla version -- : 3.9.8 -- PHP version -- : 7.1  Hello, i have a custom shipping plugin that was created for my store and uses a webservice that connects to my distributor. I just purchased Hikamarket and going through the config now. The shipping plugin that i use for my store is showing under the vendor shipping plugin options also. how do i hide my shipping plugins from my vendors but still use it in my store only. thanks")*

Hello,

I think it would be the best for your case if you want to hide your plugin from the HikaMarket front-end.
I suppose that you want your vendors to be able to create shipping methods. Because there is no built-in filters in HikaMarket regarding payment and shipping plugins (but it's in the todo list ; trying to find a good idea for the implementation and interfaces)

The idea is to add such kind of code : Code:

$filters['exclude_XXX_plugin'] = 'plugin.shipping_type != ' . $db-&gt;Quote('XXX');

(when it's the front-end and the $type parameter is 'shipping')

Regards,

---

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

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

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

Less More

- Posts: 48
- Thank you received: 0
-
-

7 years 5 months ago [\#307666](#307666) by [ChristianLocal](/forum/user/35348-christianlocal "View ChristianLocal's Profile")  Replied by *[ChristianLocal](/forum/user/35348-christianlocal "View ChristianLocal's Profile")* on topic *[shipping plugin](/forum/23-market-how-to/897672-shipping-plugin#307666 "-- HikaShop version -- : 4.1.0 -- HikaMarket version -- : 3.0.2 -- Joomla version -- : 3.9.8 -- PHP version -- : 7.1  Hello, i have a custom shipping plugin that was created for my store and uses a webservice that connects to my distributor. I just purchased Hikamarket and going through the config now. The shipping plugin that i use for my store is showing under the vendor shipping plugin options also. how do i hide my shipping plugins from my vendors but still use it in my store only. thanks")*

Thanks Jerome, this is a custom webservice plugin and I do not have the expertise to add the code to the plugin. Can you recomend someone or can you handle this for a fee? Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODk3NjcyLXNoaXBwaW5nLXBsdWdpbj90bXBsPW1hcmtkb3du) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

7 years 5 months ago [\#307670](#307670) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[shipping plugin](/forum/23-market-how-to/897672-shipping-plugin#307670 "-- HikaShop version -- : 4.1.0 -- HikaMarket version -- : 3.0.2 -- Joomla version -- : 3.9.8 -- PHP version -- : 7.1  Hello, i have a custom shipping plugin that was created for my store and uses a webservice that connects to my distributor. I just purchased Hikamarket and going through the config now. The shipping plugin that i use for my store is showing under the vendor shipping plugin options also. how do i hide my shipping plugins from my vendors but still use it in my store only. thanks")*

Hello,

Oh okay. I though that you had the possibility to edit your custom plugin.
So, the faster solution would be to use a view override for the "pluginmarket / listing" view.
replacing Code:

foreach($this-&gt;plugins as $plugin) {

By Code:

foreach($this-&gt;plugins as $plugin) { if($this-&gt;type == 'shipping' &amp;&amp; isset($plugin-&gt;shipping_type) &amp;&amp; $plugin-&gt;shipping_type == 'XXXX') continue;

With your shipping plugin type instead of the XXXX

Regards,

---

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

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

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

Less More

- Posts: 48
- Thank you received: 0
-
-

7 years 5 months ago [\#307708](#307708) by [ChristianLocal](/forum/user/35348-christianlocal "View ChristianLocal's Profile")  Replied by *[ChristianLocal](/forum/user/35348-christianlocal "View ChristianLocal's Profile")* on topic *[shipping plugin](/forum/23-market-how-to/897672-shipping-plugin#307708 "-- HikaShop version -- : 4.1.0 -- HikaMarket version -- : 3.0.2 -- Joomla version -- : 3.9.8 -- PHP version -- : 7.1  Hello, i have a custom shipping plugin that was created for my store and uses a webservice that connects to my distributor. I just purchased Hikamarket and going through the config now. The shipping plugin that i use for my store is showing under the vendor shipping plugin options also. how do i hide my shipping plugins from my vendors but still use it in my store only. thanks")*

Hello, i tried inserting the code in the HikaMarket - pluginmarket / listing.php as suggested. I tried the shipping plugin type and name with no luck. Still showing in the shipping options. This is what it looked like here:

foreach($this-&gt;plugins as $plugin) {
if($this-&gt;type == 'shipping' &amp;&amp; isset($plugin-&gt;shipping_type) &amp;&amp; ($plugin-&gt;shipping_type == 'Hikashop Anchor Shipping Plugin')
continue;

Is there anything else i need to do after this? thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODk3NjcyLXNoaXBwaW5nLXBsdWdpbj90bXBsPW1hcmtkb3du) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

7 years 5 months ago [\#307713](#307713) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[shipping plugin](/forum/23-market-how-to/897672-shipping-plugin#307713 "-- HikaShop version -- : 4.1.0 -- HikaMarket version -- : 3.0.2 -- Joomla version -- : 3.9.8 -- PHP version -- : 7.1  Hello, i have a custom shipping plugin that was created for my store and uses a webservice that connects to my distributor. I just purchased Hikamarket and going through the config now. The shipping plugin that i use for my store is showing under the vendor shipping plugin options also. how do i hide my shipping plugins from my vendors but still use it in my store only. thanks")*

Hello,

You entered the shipping name instead of the shipping type.
The shipping type cannot have spaces or special characters, it's the name of the folder in "plugins/hikashopshipping/"

Regards,

---

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

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

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

Less More

- Posts: 48
- Thank you received: 0
-
-

7 years 5 months ago [\#307729](#307729) by [ChristianLocal](/forum/user/35348-christianlocal "View ChristianLocal's Profile")  Replied by *[ChristianLocal](/forum/user/35348-christianlocal "View ChristianLocal's Profile")* on topic *[shipping plugin](/forum/23-market-how-to/897672-shipping-plugin#307729 "-- HikaShop version -- : 4.1.0 -- HikaMarket version -- : 3.0.2 -- Joomla version -- : 3.9.8 -- PHP version -- : 7.1  Hello, i have a custom shipping plugin that was created for my store and uses a webservice that connects to my distributor. I just purchased Hikamarket and going through the config now. The shipping plugin that i use for my store is showing under the vendor shipping plugin options also. how do i hide my shipping plugins from my vendors but still use it in my store only. thanks")*

I looked inside file manager and got the name of the folder, its called anchor. Did not work..

foreach($this-&gt;plugins as $plugin) {
if($this-&gt;type == 'shipping' &amp;&amp; isset($plugin-&gt;shipping_type) &amp;&amp; $plugin-&gt;shipping_type == 'anchor')
continue;
$id = 'market_plugin_' . $this-&gt;type.'_' . $plugin-&gt;$p_id;
$published_id = $this-&gt;type.'_published-' . $plugin-&gt;$p_id;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODk3NjcyLXNoaXBwaW5nLXBsdWdpbj90bXBsPW1hcmtkb3du) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

7 years 5 months ago [\#307764](#307764) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[shipping plugin](/forum/23-market-how-to/897672-shipping-plugin#307764 "-- HikaShop version -- : 4.1.0 -- HikaMarket version -- : 3.0.2 -- Joomla version -- : 3.9.8 -- PHP version -- : 7.1  Hello, i have a custom shipping plugin that was created for my store and uses a webservice that connects to my distributor. I just purchased Hikamarket and going through the config now. The shipping plugin that i use for my store is showing under the vendor shipping plugin options also. how do i hide my shipping plugins from my vendors but still use it in my store only. thanks")*

Hello,

Logically, the folder name is also the name of the shipping type, but it is possible to put another value.
You can otherwise get the shipping type value in the plugin source code (in the few first line of the main file, the variable $shipping_type must be defined), it is also possible to have that information from the database (in the HikaShop shipping table)..
Unfortunately, like that it would be difficult for me to give you a precise answer for your specific case and plugin.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODk3NjcyLXNoaXBwaW5nLXBsdWdpbj90bXBsPW1hcmtkb3du) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

7 years 5 months ago [\#307811](#307811) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[shipping plugin](/forum/23-market-how-to/897672-shipping-plugin#307811 "-- HikaShop version -- : 4.1.0 -- HikaMarket version -- : 3.0.2 -- Joomla version -- : 3.9.8 -- PHP version -- : 7.1  Hello, i have a custom shipping plugin that was created for my store and uses a webservice that connects to my distributor. I just purchased Hikamarket and going through the config now. The shipping plugin that i use for my store is showing under the vendor shipping plugin options also. how do i hide my shipping plugins from my vendors but still use it in my store only. thanks")*

Hello,

After looking at your plugin, I realize that the patch I gave you was for the wrong view.
You can of course keep the patch in the "listing" view so you will hide that plugin from the listing BUT you're want to hide it from the plugin creation !
So you need to override the "pluginmarket / add" view and use that code : Code:

if($this-&gt;plugin_type == 'shipping' &amp;&amp; isset($row-&gt;element) &amp;&amp; $row-&gt;element == 'XXXX') continue;

Just after the line : Code:

foreach($this-&gt;plugins as $i =&gt; &amp;$row) {

Regards,

---

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

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

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

Less More

- Posts: 48
- Thank you received: 0
-
-

7 years 5 months ago [\#307883](#307883) by [ChristianLocal](/forum/user/35348-christianlocal "View ChristianLocal's Profile")  Replied by *[ChristianLocal](/forum/user/35348-christianlocal "View ChristianLocal's Profile")* on topic *[shipping plugin](/forum/23-market-how-to/897672-shipping-plugin#307883 "-- HikaShop version -- : 4.1.0 -- HikaMarket version -- : 3.0.2 -- Joomla version -- : 3.9.8 -- PHP version -- : 7.1  Hello, i have a custom shipping plugin that was created for my store and uses a webservice that connects to my distributor. I just purchased Hikamarket and going through the config now. The shipping plugin that i use for my store is showing under the vendor shipping plugin options also. how do i hide my shipping plugins from my vendors but still use it in my store only. thanks")*

Hi Jerome, the anchor shipping plugin is now gone from the add view but when i put a vendor product in the cart and check out the shipping options for anchor still comes up in the checkout process.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODk3NjcyLXNoaXBwaW5nLXBsdWdpbj90bXBsPW1hcmtkb3du) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

7 years 5 months ago [\#307910](#307910) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[shipping plugin](/forum/23-market-how-to/897672-shipping-plugin#307910 "-- HikaShop version -- : 4.1.0 -- HikaMarket version -- : 3.0.2 -- Joomla version -- : 3.9.8 -- PHP version -- : 7.1  Hello, i have a custom shipping plugin that was created for my store and uses a webservice that connects to my distributor. I just purchased Hikamarket and going through the config now. The shipping plugin that i use for my store is showing under the vendor shipping plugin options also. how do i hide my shipping plugins from my vendors but still use it in my store only. thanks")*

Hello,

You need to configure the plugin in the backend if you don't want the shipping instance to be available for other vendors.
Just need to assign the instance to your main vendor.

Regards,

---

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

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

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

Less More

- Posts: 48
- Thank you received: 0
-
-

7 years 5 months ago [\#307935](#307935) by [ChristianLocal](/forum/user/35348-christianlocal "View ChristianLocal's Profile")  Replied by *[ChristianLocal](/forum/user/35348-christianlocal "View ChristianLocal's Profile")* on topic *[shipping plugin](/forum/23-market-how-to/897672-shipping-plugin#307935 "-- HikaShop version -- : 4.1.0 -- HikaMarket version -- : 3.0.2 -- Joomla version -- : 3.9.8 -- PHP version -- : 7.1  Hello, i have a custom shipping plugin that was created for my store and uses a webservice that connects to my distributor. I just purchased Hikamarket and going through the config now. The shipping plugin that i use for my store is showing under the vendor shipping plugin options also. how do i hide my shipping plugins from my vendors but still use it in my store only. thanks")*

I have tried everything you have told me. I can hide the plugin from showing up in the Vendor Control Panel when selecting New but I cant make it not show up in the shopping cart at check out. I have tried to configure in the back end as you mentioned but it still shows up. If i disable the anchor plugins then the vendor side works like expected. So I am at a loss here.

HikaMarket - pluginmarket / listing.php

foreach($this-&gt;plugins as $plugin) {
if($this-&gt;type == 'shipping' &amp;&amp; isset($plugin-&gt;shipping_type) &amp;&amp; $plugin-&gt;shipping_type == 'anchor')
continue;
$id = 'market_plugin_' . $this-&gt;type.'_' . $plugin-&gt;$p_id;
$published_id = $this-&gt;type.'_published-' . $plugin-&gt;$p_id;

HikaMarket - pluginmarket / add.php

foreach($this-&gt;plugins as $i =&gt; &amp;$row) {
if($this-&gt;plugin_type == 'shipping' &amp;&amp; isset($row-&gt;element) &amp;&amp; $row-&gt;element == 'anchor')
continue;

i have listed the two areas and what i have there. Please advise.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODk3NjcyLXNoaXBwaW5nLXBsdWdpbj90bXBsPW1hcmtkb3du) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

7 years 5 months ago [\#307937](#307937) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[shipping plugin](/forum/23-market-how-to/897672-shipping-plugin#307937 "-- HikaShop version -- : 4.1.0 -- HikaMarket version -- : 3.0.2 -- Joomla version -- : 3.9.8 -- PHP version -- : 7.1  Hello, i have a custom shipping plugin that was created for my store and uses a webservice that connects to my distributor. I just purchased Hikamarket and going through the config now. The shipping plugin that i use for my store is showing under the vendor shipping plugin options also. how do i hide my shipping plugins from my vendors but still use it in my store only. thanks")*

Hello,

I'm sorry but I don't understand your request.
Please clarify

Regards,

---

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

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

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

Less More

- Posts: 48
- Thank you received: 0
-
-

7 years 5 months ago -  7 years 5 months ago [\#307951](#307951) by [ChristianLocal](/forum/user/35348-christianlocal "View ChristianLocal's Profile")  Replied by *[ChristianLocal](/forum/user/35348-christianlocal "View ChristianLocal's Profile")* on topic *[shipping plugin](/forum/23-market-how-to/897672-shipping-plugin#307951 "-- HikaShop version -- : 4.1.0 -- HikaMarket version -- : 3.0.2 -- Joomla version -- : 3.9.8 -- PHP version -- : 7.1  Hello, i have a custom shipping plugin that was created for my store and uses a webservice that connects to my distributor. I just purchased Hikamarket and going through the config now. The shipping plugin that i use for my store is showing under the vendor shipping plugin options also. how do i hide my shipping plugins from my vendors but still use it in my store only. thanks")*

You posted the following

"You need to configure the plugin in the backend if you don't want the shipping instance to be available for other vendors.
Just need to assign the instance to your main vendor."

[ ![maininfo.jpg](/forum/attachment/47097) ](/forum/attachment/47097 "maininfo.jpg")

In the main info area under vendor i listed the vendor, is this correct?

this is from the page where the shipping is suppose to be a manual shipping for a flat rate of 5 dollars.

In the vendor control panel where I add the vendors shipping i add the manual shipping but when i put a product in the cart and check out the anchor shipping method always shows up. see attachments.

Here is a video link: [ www.screencast.com/t/1eWZexQQ](https://www.screencast.com/t/1eWZexQQ)

Can you logon to my site and see for yourself that this process is not working?

- [ ![maininfo.jpg](/forum/attachment/47097) ](/forum/attachment/47097 "maininfo.jpg") [ ](/forum/attachment/47097?download=1 "maininfo.jpg")
- [ ![fullpage.jpg](/forum/attachment/47098) ](/forum/attachment/47098 "fullpage.jpg") [ ](/forum/attachment/47098?download=1 "fullpage.jpg")
- [ ![shippingpluginforvendor.jpg](/forum/attachment/47099) ](/forum/attachment/47099 "...nforvendor.jpg") [ ](/forum/attachment/47099?download=1 "...nforvendor.jpg")

Last edit: 7 years 5 months ago by [ChristianLocal](/forum/user/35348-christianlocal "View ChristianLocal's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODk3NjcyLXNoaXBwaW5nLXBsdWdpbj90bXBsPW1hcmtkb3du) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

7 years 4 months ago [\#307984](#307984) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[shipping plugin](/forum/23-market-how-to/897672-shipping-plugin#307984 "-- HikaShop version -- : 4.1.0 -- HikaMarket version -- : 3.0.2 -- Joomla version -- : 3.9.8 -- PHP version -- : 7.1  Hello, i have a custom shipping plugin that was created for my store and uses a webservice that connects to my distributor. I just purchased Hikamarket and going through the config now. The shipping plugin that i use for my store is showing under the vendor shipping plugin options also. how do i hide my shipping plugins from my vendors but still use it in my store only. thanks")*

Hello,

You have configured your shipping instance to be available just for the vendor "Rico Plate" who have the ID 6.
Your main vendor have the ID "1" and if you set the shipping instance to that vendor, the method won't be used when other vendor products are in the cart.

Because you associated the shipping instance with the vendor, you see that name in the front-end while you're connected with your admin.
Afterwards, the second screenshot is too tiny to be read.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODk3NjcyLXNoaXBwaW5nLXBsdWdpbj90bXBsPW1hcmtkb3du) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

7 years 4 months ago [\#308044](#308044) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[shipping plugin](/forum/23-market-how-to/897672-shipping-plugin#308044 "-- HikaShop version -- : 4.1.0 -- HikaMarket version -- : 3.0.2 -- Joomla version -- : 3.9.8 -- PHP version -- : 7.1  Hello, i have a custom shipping plugin that was created for my store and uses a webservice that connects to my distributor. I just purchased Hikamarket and going through the config now. The shipping plugin that i use for my store is showing under the vendor shipping plugin options also. how do i hide my shipping plugins from my vendors but still use it in my store only. thanks")*

Hello,

After a look at your custom shipping plugin ; the way that is generate its "sub methods" is not the right one.
Official HikaShop shipping plugins which web-services to generate multiple shipping entries are using a define algorithm which consist of copying the "current entry" so it will keep the settings of the shipping method.
Your custom plugin is copying the first available method in the shipping list ; which in your case is your manual shipping method.
So the configuration you set-up for your shipping method is not kept for the duplicated one and it generates unwanted side effect such as the lost of the vendor assignation.

Regards,

---

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

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

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.088 seconds

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