[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

[Magento] Downloadable and URLs

Posted on 2011-10-26
2
Medium Priority
?
428 Views
Last Modified: 2013-11-18
We are contemplating using a service like these to add DRM to our downloadable publications:
http://www.ebookdownloadservice.com/
http://www.locklizard.com

How would I setup a downloadable product to point to the files located on THEIR servers vs. having to upload the file in the BO?
Is this even possible with Magento v1.4.0.1?

Other than that, is it possible to serve downloadable products from a CDN in Magento?
0
Comment
Question by:EddieShipman
2 Comments
 
LVL 12

Accepted Solution

by:
miked2004 earned 2000 total points
ID: 37037998
Yes it is possible to server from CDN.
In the back-end you need to set the downloads information to use URL not FILE. Then you just need to adjust how the urls are build to that they reference the CDN instead of the magento install.

I do something similar with downloadable products. I have made a subscription service  for streaming videos. The videos are hosted on amazon s3, so it sounds similar to what you will need to do.

You will need to do the following(maybe more):
1. Adjust the block that displays the downloadable links in the customers downloads area. You may need to inject special logic into the block and also in the template.
/app/code/core/mage/downloadable/block/customer/product/list.php

2. Adjust email templates to use urls you want. you will need to adjust the blocks crontrolling the data based to the emails.
/app/code/core/mage/downloadable/block/sales/order/email/items/order/downloadable.php
/app/code/core/mage/downloadable/block/sales/order/item/renderer/downloadable.php


That should get you started.
0
 
LVL 26

Author Closing Comment

by:EddieShipman
ID: 37038199
Thanks Mike
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
In the below post we have mentioned the best hosting type for startups. Also, check out some of the superlative web hosting companies that are proposing affordable web hosting solutions to host your startup website.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
Suggested Courses

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question