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

#   How to configure-looking for advices

##

- **[pprle](/forum/user/11949-pprle "View pprle's Profile")**
- [![pprle's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/blue_hikashop_heart.png)](/forum/user/11949-pprle "View pprle's Profile") Topic Author
- [ Offline](/forum/user/11949-pprle)

Less More

- Posts: 158
- Thank you received: 8
-
-

13 years 8 months ago [\#94265](#94265) by [pprle](/forum/user/11949-pprle "View pprle's Profile")  *[How to configure-looking for advices](/forum/19-hikamarket/79256-how-to-configure-looking-for-advices#94265 "Hi,  I would like to set up a single shop platform with hikamarket. The goal is to sell a single product catolog but multi-vendor (one vendor per country). In more details a company has subsidiary/partner in each country but all have the same product catalog: 1. Shoppers buy in shop (OK) 2. delivery costs per country (probably shipping zone config - OK) 3. pay to shop (OK) 4. Shop pays fee/commission to vendor (OK)  But my question is more related to the products assignement to each vendor. Because all vendors have the same product catalog and products have all the same sku, how can I best configure hikamarket for this purpose?  Your help is really appreciated...")* was created by *[pprle](/forum/user/11949-pprle "View pprle's Profile")*

Hi,

I would like to set up a single shop platform with hikamarket.
The goal is to sell a single product catolog but multi-vendor (one vendor per country).
In more details a company has subsidiary/partner in each country but all have the same product catalog:
1. Shoppers buy in shop (OK)
2. delivery costs per country (probably shipping zone config - OK)
3. pay to shop (OK)
4. Shop pays fee/commission to vendor (OK)

But my question is more related to the products assignement to each vendor.
Because all vendors have the same product catalog and products have all the same sku, how can I best configure hikamarket for this purpose?

Your help is really appreciated...

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

13 years 8 months ago [\#94310](#94310) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to configure-looking for advices](/forum/19-hikamarket/79256-how-to-configure-looking-for-advices#94310 "Hi,  I would like to set up a single shop platform with hikamarket. The goal is to sell a single product catolog but multi-vendor (one vendor per country). In more details a company has subsidiary/partner in each country but all have the same product catalog: 1. Shoppers buy in shop (OK) 2. delivery costs per country (probably shipping zone config - OK) 3. pay to shop (OK) 4. Shop pays fee/commission to vendor (OK)  But my question is more related to the products assignement to each vendor. Because all vendors have the same product catalog and products have all the same sku, how can I best configure hikamarket for this purpose?  Your help is really appreciated...")*

Hi,

HikaMarket as a class override system. It allows you to override a specific function is an HikaMarket class.

The idea is to override the function "getVendorsByProducts" of the vendor class.
This function provides the vendors of the given products.

By default this function would read the "product_vendor_id" in the database but for you, it would be better to set the same vendor for all products depending the delivery country.
It would require some other little modifications in order to store temporally the order in the object (and have the country information in the "getVendorsByProducts").

At this moment, any product would be assign to your vendors so they won't be able to modify any of them.
But they would be able to edit their sub-orders.

Could it be a right solution for you ?

Regards,

---

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

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

- **[pprle](/forum/user/11949-pprle "View pprle's Profile")**
- [![pprle's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/blue_hikashop_heart.png)](/forum/user/11949-pprle "View pprle's Profile") Topic Author
- [ Offline](/forum/user/11949-pprle)

Less More

- Posts: 158
- Thank you received: 8
-
-

13 years 8 months ago [\#94315](#94315) by [pprle](/forum/user/11949-pprle "View pprle's Profile")  Replied by *[pprle](/forum/user/11949-pprle "View pprle's Profile")* on topic *[How to configure-looking for advices](/forum/19-hikamarket/79256-how-to-configure-looking-for-advices#94315 "Hi,  I would like to set up a single shop platform with hikamarket. The goal is to sell a single product catolog but multi-vendor (one vendor per country). In more details a company has subsidiary/partner in each country but all have the same product catalog: 1. Shoppers buy in shop (OK) 2. delivery costs per country (probably shipping zone config - OK) 3. pay to shop (OK) 4. Shop pays fee/commission to vendor (OK)  But my question is more related to the products assignement to each vendor. Because all vendors have the same product catalog and products have all the same sku, how can I best configure hikamarket for this purpose?  Your help is really appreciated...")*

Hi,

Let's try to push more the complexity...because one day configuration might change, we never know...

Not every single country in the world has its own specfic vendor, countries without vendor should be assigned to main-vendor or closest country vendor.

And further, can we imagine in some countries to have more/less products available than in another?

Will your solution also match these criterias Jerome?

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

13 years 8 months ago [\#94325](#94325) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to configure-looking for advices](/forum/19-hikamarket/79256-how-to-configure-looking-for-advices#94325 "Hi,  I would like to set up a single shop platform with hikamarket. The goal is to sell a single product catolog but multi-vendor (one vendor per country). In more details a company has subsidiary/partner in each country but all have the same product catalog: 1. Shoppers buy in shop (OK) 2. delivery costs per country (probably shipping zone config - OK) 3. pay to shop (OK) 4. Shop pays fee/commission to vendor (OK)  But my question is more related to the products assignement to each vendor. Because all vendors have the same product catalog and products have all the same sku, how can I best configure hikamarket for this purpose?  Your help is really appreciated...")*

Hi,

Because you can override the "getVendorsByProducts" function, you can set the rules you want (for the vendor selection depending the country).

But, some countries which would have more or less products... I guess it would be complicated to do.
It's not something done by HikaMarket but by HikaShop itself and there is not such feature for the moment in HikaShop.

Regards,

---

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

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

- **[pprle](/forum/user/11949-pprle "View pprle's Profile")**
- [![pprle's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/blue_hikashop_heart.png)](/forum/user/11949-pprle "View pprle's Profile") Topic Author
- [ Offline](/forum/user/11949-pprle)

Less More

- Posts: 158
- Thank you received: 8
-
-

13 years 8 months ago [\#94503](#94503) by [pprle](/forum/user/11949-pprle "View pprle's Profile")  Replied by *[pprle](/forum/user/11949-pprle "View pprle's Profile")* on topic *[How to configure-looking for advices](/forum/19-hikamarket/79256-how-to-configure-looking-for-advices#94503 "Hi,  I would like to set up a single shop platform with hikamarket. The goal is to sell a single product catolog but multi-vendor (one vendor per country). In more details a company has subsidiary/partner in each country but all have the same product catalog: 1. Shoppers buy in shop (OK) 2. delivery costs per country (probably shipping zone config - OK) 3. pay to shop (OK) 4. Shop pays fee/commission to vendor (OK)  But my question is more related to the products assignement to each vendor. Because all vendors have the same product catalog and products have all the same sku, how can I best configure hikamarket for this purpose?  Your help is really appreciated...")*

Thank you Jerome.
I will wait for an answer in the post [ 94499](http://www.hikashop.com/en/forum/2-general-talk-about-hikashop/79277-hika-team-please-read.html#94499) before asking you the how to things...

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

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