Downloadable products - gifting, and updates

  • Posts: 51
  • Thank you received: 2
  • Hikashop Business
11 years 6 months ago #101419

Dear Hikashop,

We've just launched our shop using HikaShop starter, and will be upgrading to Commercial and HikaSerial as soon as we've established that the shop is going to profitable (it's not our core business, so any sales we make will be a bonus, and justify the cost of the upgrades).

All of our products are software modules, so we've set up the shop to allow a "free" datasheet download prior to purchase, and a further module download following purchase. This currently works because the purchaser receives a download link with their order confirmation.

However,
I'd like to
(a) gift some modules to existing customers, without necessarily sending them a confirmation email, and
(b) give existing customers the facility to download the purchased modules from the site when, for example, we update the module, and want them to be able to download the new version.

I've been able to sort (a) out, by creating an order manually and setting the state to confirmed, but is it possible to have the non-free file appear under the downloads section of the product page, so they can re-download by logging in and going back to the product page?

I hope that makes sense!
Cheers,
Oliver

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

  • Posts: 26151
  • Thank you received: 4027
  • MODERATOR
11 years 6 months ago #101509

Hi Oliver,

The customer could access to his orders in the front-end. By viewing an order, he could see the download links with some information.
So you do not require to send an email to the customer to give him the download links.

We are currently working on some improvement for the downloads : A dedicated view which would list the accessible downloads and maybe the possibility to download the bought product from the product page itself.

Best 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: 51
  • Thank you received: 2
  • Hikashop Business
11 years 6 months ago #101523

Hi Jerome,

Thanks for the reply. I see the download links now, so thanks for pointing that out.

I was looking at the views to see if we could modify the block_product_files.php. I noticed in the vote/form.php there's a flag to indicate the user had purchased the product, so would it be possible to modify block_product_files with something to show ALL files if the product has been purchased? i.e. something like the addition below?

product/show_block_product_files.php

foreach ($this->element->files as $file) {
      if ($file->file_free_download  *** || $purchased *** )
        $skip = false;
    }

Something as simple as that would be perfect for us.

Hope you can help,
Oliver

Last edit: 11 years 6 months ago by ohall.

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

  • Posts: 26151
  • Thank you received: 4027
  • MODERATOR
11 years 6 months ago #101624

Hi,

You can find in the "vote/view.html" file some code & SQL which give you the information if the customer has bought the product or not.
But the download is different because there is a validity delay. After some days/months/year, the customer cannot download the file anymore. So the SQL query is more complex than in votes and could not be written like that in few minutes. It requires some development skills and some time.

If you can't write the SQL query, the best would be to wait for the next release and this new feature.

Best 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: 51
  • Thank you received: 2
  • Hikashop Business
11 years 6 months ago #101626

Thanks Jerome- that's very helpful.

We may put in a "quick fix" as we're not concerned with expiring access or download limits, and then replace with the official version when it's released.

Thanks again,
Oliver

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

Time to create page: 0.062 seconds
Powered by Kunena Forum