Single product linked to more than 1 vendor

  • Posts: 77
  • Thank you received: 4
9 years 8 months ago #165655

Hi,

I have a single product that has to be linked to 3 vendors with different fees.
How can this be done ? If it is not a basic supported feature, how can I programatically create the market orders in hikamarket ?
E.g. the customer buys the product and there will be 3 market orders created with different fees.
These 3 market orders also need to be handled when the order status is changed.
Thanks an br

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
9 years 8 months ago #165661

Hi,

One product can just have one vendor. It's the base of HikaMarket and it won't change.
Even the fee system won't be able to support several vendors, the fees is made to split a price in two parts. So you can't have several vendors for one single product.

But !
You can split a product in several parts using options.
Each option have is own price and is own vendor, so you can configure the price distribution like that.
By having a product with one single variant, you can make a required option (so the customer can't remove the option).

In this kind of scenario, you can have a product with 3 required options, with 3 vendors and different fees.

Otherwise you can create entries in the HikaShop order table in order to create yourself some vendor subsale orders ; using the HikaShop and HikaMarket triggers like the "onAfterOrderCreate", check the order_type, check the content of the order and create manually the sub sales for the other vendors.
But I think that the solution of the product option will be easier to use.

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: 77
  • Thank you received: 4
9 years 8 months ago #165683

ok, this sounds cool and it could work.
Is there a possibility, that the customer would not see the required option/variant when the product is ordered ?

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
9 years 8 months ago #165691

Hi,

You can use the HikaShop configuration option to group the product options with the main product and then use some custom views in order to not display them.

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.

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