New features
Version 3.x > New features > E-Commerce module with downloadable files View modes: 
User avatar
Member
Member
Jagr - 2/19/2009 9:18:35 AM
   
E-Commerce module with downloadable files
I have some documents in pdf and I want that only registered users could download them. And that is not very big problem. All of documents are free of charge (0.00) and I used e-commerce module and shopping cart, so users can put there documents that they want to download. This way, I can track a number of downloads per document.

But when user comes to "Order now" button at the end of the shopping process, how should I present him links, and how should I enable him to download files?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 3/3/2009 7:45:32 AM
   
RE:E-Commerce module with downloadable files
Hi,

In your case you can add one more step between the Order preview and Payment step. It is good the last step because here is made the redirection to payment gateway or to "Thank you" page.
So, in the custom step, the shopping cart info will be still present so you can get the information about the Order ID and SKUIDs quite easy. Then, in this step you can have e.g. a repeater with custom query, where you will get the links (and display them in transformation) according to the SKUID and the WHERE condition of the query could be like: WHERE NodeSKUID = @SKUID. I hope it makes sense and it will help you.

Best Regards,
Juraj Ondrus