Customised downloadable files for a product

  • Posts: 78
  • Thank you received: 4
  • Hikamarket Multivendor Hikashop Business
11 years 10 months ago #84399

Hi,
i am already a happy Hikashop business customer.
I need to solve following use case:
A customer buys a product with a variant.
The variant field is the name of a partner from us.
After purchasing, the choosen partner needs to be informed by e.g. email about this purchase
Now the partner prepares a customised audio file for the customer and uploads this to our server
Now the customer need to be able to download this file as attachement from his initial order => Add a link to the downloadable file to the related order.
I saw, that this could maybe be solved with a plugin from hikaserial.
Would this be possible ? Is there already a trigger that could handle this use case for adding a link to an audio file to the related order ?
What would you recommend ?

Another question:
Now, the Partner should also get a fixed percentage cashback from the order for his services preparing the audio file.
Could this be done with Hikashop Market - Multivendor ?
=> e.g. Can Hikashop Market make a payment (cashback) to a partner based on a variant field from an order from our shop ?
How could this be solved ?

Any info is well appreciated.
Thanks
/Kenny

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

  • Posts: 26152
  • Thank you received: 4027
  • MODERATOR
11 years 10 months ago #84423

Hi,

You can found a solution without HikaSerial. I am not sure that HikaSerial would be the right solution for your case, it would depend.
An order custom field which could be good. If the order custom field is not displayed in the front-end so customer could not edit his value. But the value would be editable in the backend and could be included in the order status notification.
So, the vendor would update the custom field, change the order status and notify the customer.

It is possible to use a download override plugin. At this moment, downloading a file would be just possible when an order is "shipped" (you can change the translation for the order status) and it would read the order custom field in order to redirect the user to the specific link.
I would recommend you HikaSerial if you wanted to create dynamically unique content, like file watermarking with a generated key.

HikaMarket allows you to configure fees for orders and products. So you can set a flat fee for a product, you can set a percentage fee on an order.
A variant, like a classical product could be affected to a vendor, so you can create several variants for several vendors.
You can try HikaMarket in our demo website (login demo / password demo) for front-end and back-end.
So I think that HikaMarket would provide you all required features.

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: 78
  • Thank you received: 4
  • Hikamarket Multivendor Hikashop Business
11 years 10 months ago #84497

Hi Jerome,

Many thanks for your feedback.
I tested Hika Market and it really looks llike all necessary feautures are supported for our needs. Even to have a vendor per variant. Very good.
I will order hika market vendor in that case. Are there any discounts available for existing Hikashop business customers ? Hika Market Multivendor is quite expensive...


About the task to make the "download override plugin". Do you have some tips or sample code how I could achieve this ?
As I understand, I have to make a new plugin that will do the job. Or is there already something available, because you mentioned the override after status "shipped". Is this already somewhere implemented ?

Thanks and br
Kenny

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

  • Posts: 26152
  • Thank you received: 4027
  • MODERATOR
11 years 10 months ago #84584

Hi,

You have the trigger "onBeforeDownload".

/**
 * onBeforeDownload
 *
 * @param string $filename
 * @param boolean $do
 * @param object $file
 * 	$file->file_id
 * 	$file->file_name
 * 	$file->file_path
 * 	$file->file_ref_id
 * 	$file->file_free_download
 * 	$file->file_limit
 * 	$file->order_id
 * 	$file->file_pos
 */
public function onBeforeDownloadFile(&$filename, &$do, &$file);

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.
Last edit: 11 years 10 months ago by Jerome.

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

Time to create page: 0.059 seconds
Powered by Kunena Forum