an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > DotShoppingCart Suite > Product Digital Download
Last Post 1/28/2011 9:22:43 AM By lukezy. 8 replies.
1/6/2010 12:42:01 PM
sapphire
Posts: 7
Joined: 12/17/2009
Product Digital Download
 Do you have an example of how to make the files from the Products/Edit Product/Digital Download tab available when users are looking at the product?  Does this require adding a new User Control to Controls\Store\ProductSummary?
 
Thanks,
Ben
1/6/2010 3:17:57 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Product Digital Download
The files in Product -> Digital Download tab are for paid customer to download from the order detail page. You probably don't want to show it in the product page. If you want your customer to download some trial version, you can use upload by using Content > Files and then place the download link to the poduct page.
DotShoppingCart Staff
1/6/2010 4:28:15 PM
sapphire
Posts: 7
Joined: 12/17/2009
Re: Product Digital Download
Thank you.  I was thinking in terms of having different documents, such as specifications, product manuals, etc., available for each product.  Is there somewhere in the Suite for things like that or would that require us to get the Core source code, add tables/fields to the database, etc.?
 
Thanks,
Ben
1/7/2010 9:55:48 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Product Digital Download
What you are asking is supported already. As I said, you can upload the document files by using Content > Files and then add the links to Product -> Descriptor tab. Your customers can click the links and download the document files.
DotShoppingCart Staff
1/11/2010 11:30:31 AM
sapphire
Posts: 7
Joined: 12/17/2009
Re: Product Digital Download
Thanks.  In the Product -> Descriptor tab, how do I link to the files?  I see that I can insert a hyperlink via :
<a href="???">Document Name</a>
 
But where is the file located?  It doesn't appear that I can use <a href="<%=FileController.GetFileUrl("myfile.pdf")%>">Document Name</a> to find out.
 
Thanks,
Ben
 
1/11/2010 11:42:32 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Product Digital Download
You can only put pure html not ASP.NET server tags. Try <a href="~/dbfile.axd?name=myfile.pdf">Document Name</a>
DotShoppingCart Staff
1/11/2010 11:47:04 AM
sapphire
Posts: 7
Joined: 12/17/2009
Re: Product Digital Download
Thank you, that works.
1/28/2011 3:32:48 AM
malshini
Posts: 29
Joined: 11/9/2010
Re: Product Digital Download
I want to download the file with a Open/save dialog box. For that directing the url to "dbfile.axd?name=" will not work. It will only direct to the page/file.
 
How can i open the file with a Save Dialog box when a hyperlink is clicked. ? (For this i have to give the physical location )
 
Thanks a lot.
1/28/2011 9:22:43 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Product Digital Download
Please don't confuse this with Admin -> Contents -> Files.  
 
Admin > Catalog > Products > Edit Product -> Digital Dowload is when you want the consumer to download the files only after the purchase is completed. While Admin -> Contents -> Files is just regular file uploader to the server, you can hyper link to the file in your site. Take a look at this thread.
DotShoppingCart Staff