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

#   Different ship methods per vendor

##

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

Less More

- Posts: 1195
- Thank you received: 13
-
-

12 years 1 month ago [\#172929](#172929) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  Replied by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")* on topic *[Different ship methods per vendor](/forum/23-market-how-to/871442-different-ship-methods-per-vendor?start=20#172929 "hi! I m trying to set up different shipment methods per, vendor. For now I have me (A) and my client (B).  I ve managed to have B to edit only his products and see only his category. But I cant make it to restrict shipment methods. What I did is the following. I tried 2 ways. 1. With the Vendor options. Chose a vendor B and tried to buy his product. the particular shipment method is gone for both vendors. 2. Tried to use Warehouse restriction.. Edited the product and added the warehouse. Editied the shipment too and added the restriction to the specifiq Warehouse but again the shipment s gone for both vendors. If I remove restriction I have alla shipments again but I don t want that.  Thanks for your help")*

I know its the first time ok. I ll open a new thread,
I ll extend hikamarket. I would it but you make me do it faster.

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

12 years 1 month ago [\#172930](#172930) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Different ship methods per vendor](/forum/23-market-how-to/871442-different-ship-methods-per-vendor?start=20#172930 "hi! I m trying to set up different shipment methods per, vendor. For now I have me (A) and my client (B).  I ve managed to have B to edit only his products and see only his category. But I cant make it to restrict shipment methods. What I did is the following. I tried 2 ways. 1. With the Vendor options. Chose a vendor B and tried to buy his product. the particular shipment method is gone for both vendors. 2. Tried to use Warehouse restriction.. Edited the product and added the warehouse. Editied the shipment too and added the restriction to the specifiq Warehouse but again the shipment s gone for both vendors. If I remove restriction I have alla shipments again but I don t want that.  Thanks for your help")*

Hi,

Thanks,

Regards

---

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

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

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

Less More

- Posts: 1195
- Thank you received: 13
-
-

12 years 1 month ago [\#172935](#172935) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  Replied by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")* on topic *[Different ship methods per vendor](/forum/23-market-how-to/871442-different-ship-methods-per-vendor?start=20#172935 "hi! I m trying to set up different shipment methods per, vendor. For now I have me (A) and my client (B).  I ve managed to have B to edit only his products and see only his category. But I cant make it to restrict shipment methods. What I did is the following. I tried 2 ways. 1. With the Vendor options. Chose a vendor B and tried to buy his product. the particular shipment method is gone for both vendors. 2. Tried to use Warehouse restriction.. Edited the product and added the warehouse. Editied the shipment too and added the restriction to the specifiq Warehouse but again the shipment s gone for both vendors. If I remove restriction I have alla shipments again but I don t want that.  Thanks for your help")*

Payments are fine, but I shipment arent after the update.

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

12 years 1 month ago [\#172939](#172939) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Different ship methods per vendor](/forum/23-market-how-to/871442-different-ship-methods-per-vendor?start=20#172939 "hi! I m trying to set up different shipment methods per, vendor. For now I have me (A) and my client (B).  I ve managed to have B to edit only his products and see only his category. But I cant make it to restrict shipment methods. What I did is the following. I tried 2 ways. 1. With the Vendor options. Chose a vendor B and tried to buy his product. the particular shipment method is gone for both vendors. 2. Tried to use Warehouse restriction.. Edited the product and added the warehouse. Editied the shipment too and added the restriction to the specifiq Warehouse but again the shipment s gone for both vendors. If I remove restriction I have alla shipments again but I don t want that.  Thanks for your help")*

Hi,

If you updated HikaShop to his latest version, I guess that you lost the modification I made.

So please edit the file "administrator/components/com_hikashop/classes/shipping.php" and replace Code:

foreach($rates as $k =&gt; $rate) { $rem_rate = false;

By Code:

foreach($rates as $i =&gt; $rate) { $rem_rate = false;

And also Code:

if($rem_rate) { $rates[$k] = null; unset($rates[$k]); }

By Code:

if($rem_rate) { $rates[$i] = null; unset($rates[$i]); }

Regards,

---

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

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

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

Less More

- Posts: 1195
- Thank you received: 13
-
-

12 years 1 month ago [\#172941](#172941) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  Replied by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")* on topic *[Different ship methods per vendor](/forum/23-market-how-to/871442-different-ship-methods-per-vendor?start=20#172941 "hi! I m trying to set up different shipment methods per, vendor. For now I have me (A) and my client (B).  I ve managed to have B to edit only his products and see only his category. But I cant make it to restrict shipment methods. What I did is the following. I tried 2 ways. 1. With the Vendor options. Chose a vendor B and tried to buy his product. the particular shipment method is gone for both vendors. 2. Tried to use Warehouse restriction.. Edited the product and added the warehouse. Editied the shipment too and added the restriction to the specifiq Warehouse but again the shipment s gone for both vendors. If I remove restriction I have alla shipments again but I don t want that.  Thanks for your help")*

unset($rates[$k]);
still exist in other lines. Should I replace too?

also
foreach($rates as $k =&gt; $rate)

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

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

Less More

- Posts: 1195
- Thank you received: 13
-
-

12 years 1 month ago [\#172943](#172943) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  Replied by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")* on topic *[Different ship methods per vendor](/forum/23-market-how-to/871442-different-ship-methods-per-vendor?start=20#172943 "hi! I m trying to set up different shipment methods per, vendor. For now I have me (A) and my client (B).  I ve managed to have B to edit only his products and see only his category. But I cant make it to restrict shipment methods. What I did is the following. I tried 2 ways. 1. With the Vendor options. Chose a vendor B and tried to buy his product. the particular shipment method is gone for both vendors. 2. Tried to use Warehouse restriction.. Edited the product and added the warehouse. Editied the shipment too and added the restriction to the specifiq Warehouse but again the shipment s gone for both vendors. If I remove restriction I have alla shipments again but I don t want that.  Thanks for your help")*

in the same file

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

12 years 1 month ago [\#172944](#172944) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Different ship methods per vendor](/forum/23-market-how-to/871442-different-ship-methods-per-vendor?start=20#172944 "hi! I m trying to set up different shipment methods per, vendor. For now I have me (A) and my client (B).  I ve managed to have B to edit only his products and see only his category. But I cant make it to restrict shipment methods. What I did is the following. I tried 2 ways. 1. With the Vendor options. Chose a vendor B and tried to buy his product. the particular shipment method is gone for both vendors. 2. Tried to use Warehouse restriction.. Edited the product and added the warehouse. Editied the shipment too and added the restriction to the specifiq Warehouse but again the shipment s gone for both vendors. If I remove restriction I have alla shipments again but I don t want that.  Thanks for your help")*

Hi,

Please just replace the blocks I wrote in my previous message.
Only where you will find the full block (all lines together) with the $rem_rate variable.

Regards,

---

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

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