Post by ninad_jad » Mon Jul 21, 2014 9:57 pm

i want to get actual static url of files in download section,

i am trying to add another preview option in download section for online video tutorials and pdf file.

but for download link current url is dynamic can i get static url here ??

New member

Posts

Joined
Mon Dec 30, 2013 3:11 pm

Post by OSWorX » Mon Jul 21, 2014 11:32 pm

Really no glue what you mean.
What do you mean with 'static url'??

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by ninad_jad » Wed Jul 23, 2014 12:01 am

sorry for poor explanation

i want to get actual url for Download files like www.abc.com/downloads/xyz.mp4
currently i am getting following url from download button

http://www.sample.com/index.php?route=a ... ad_id=2269

New member

Posts

Joined
Mon Dec 30, 2013 3:11 pm

Post by melbagnato » Wed Jul 23, 2014 12:13 am

Downloads are managed by OpenCart to confuse people trying to steal your downloads. You should create a directory for static downloads (either at same level as catalog or under image/data and put your content there.

You should also modify your product to store these links.

- Mel


Sent from my iPad using Tapatalk

http://online.enterpriseconsulting.com.au

Site with OpenCart extensions & code downloads, many new extensions coming soon!
Follow us on twitter for more updates

Image


User avatar
Active Member

Posts

Joined
Wed Jan 13, 2010 1:39 pm
Location - Melbourne

Post by ninad_jad » Sun Aug 10, 2014 1:37 am

i found few other methods to do it my actual problem is now..

retrieve the download file information like url using Order and Product Id it is possible by some script or anything like that

New member

Posts

Joined
Mon Dec 30, 2013 3:11 pm
Who is online

Users browsing this forum: Bing [Bot] and 260 guests