How to configure-looking for advices

  • Posts: 158
  • Thank you received: 8
11 years 8 months ago #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...

Please Log in or Create an account to join the conversation.

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
11 years 8 months ago #94310

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 & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 158
  • Thank you received: 8
11 years 8 months ago #94315

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 or Create an account to join the conversation.

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
11 years 8 months ago #94325

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 & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 158
  • Thank you received: 8
11 years 8 months ago #94503

Thank you Jerome.
I will wait for an answer in the post 94499 before asking you the how to things...

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.063 seconds
Powered by Kunena Forum