Dear Friends,
How would it be possible to create a digital good specific to the order? We are selling some digital goods which needs to be customized before it is available for download. (Add customer info to the program).
So even though it is one digital product, due to customization it will become as many as many customers and orders.
We are not sure how to proceed. Can the download link customized that it is specific to the order?
Thanks
Tony
http://shop.blackice.com
http://shop.faxproducts.com
http://www.blackice.com
how to create customized digital goods?
Re: how to create customized digital goods?
In Members/Download.ashx, replace the line:
with your own method that generates a file stream from your customized object.
I used this method to generate a rebate form PDF pre-populated with customers' name, address info, etc. when they purchased an eligible item.
Code: Select all
DownloadHelper.SendFileDataToClient(context, digitalGood);
I used this method to generate a rebate form PDF pre-populated with customers' name, address info, etc. when they purchased an eligible item.
Nick Cole
http://www.ethofy.com
http://www.ethofy.com
Re: how to create customized digital goods?
Thanks for your reply, Nick.
If I understand correctly, your method will give back a custom downloadlink? Or it will be the same download link but the file would be customized. (most probably the first, since if only the file is customized, and the download link would stay the same, then what would happen if more people would by the same product/digital good?)
Tony
If I understand correctly, your method will give back a custom downloadlink? Or it will be the same download link but the file would be customized. (most probably the first, since if only the file is customized, and the download link would stay the same, then what would happen if more people would by the same product/digital good?)
Tony
Re: how to create customized digital goods?
I think in your case it would be better to just update Members/Download.ashx to complete your customization. All you need is to pass some other calculated URL that points to some customer specific version of download able file to DownloadHelper.SendFileDataToClient. There are other overloads available for DownloadHelper.SendFileDataToClient method that can take file name and stream it for download. So update your download.ashx file to to get that custom downlaod link and then instead of using DownloadHelper.SendFileDataToClient(context, digitalGood); use one of other overloads for example DownloadHelper.SendFileDataToClient(context, filePath, saveAsName);