Post by fido-x » Thu Jun 10, 2010 8:20 pm

Yes. OpenCart does support the sale of digital goods that can be downloaded after payment.

Customer's can download their products from their account page after the order has reached the "Complete" stage. You can change this in the administration under "System->Settings" (under the "Options" tab). The entries you will be looking for are "Order Status" and "Download Order Status".

If you set the "Download Order Status" to the same value as "Order Status" (the default is "Pending"), then your customers can download the product straight away. Otherwise, digital products will be available when the "Order Status" reaches the stage where products can be downloaded. For example, "Order Status" is set to "Pending", "Download Order Status" is set to "Complete". When the "Order Status" reaches the "Complete" stage (after payment has been received), the product will then be available for download.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by fido-x » Thu Jun 10, 2010 8:49 pm

In the administration under "Catalog->Downloads", you can upload your downloadable files and set the number of times each can be downloaded. This download can then be linked to the product under the "Data" tab in the product entry area.

The downloadable files are kept in the "downloads" directory.

NOTE: When a downloadable file is uploaded to your server through "Catalog->Downloads", an extra "token" is added as an extension to the original file so that people can't download the product by entering it's filename as part of a URL.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by Xsecrets » Fri Jun 11, 2010 4:54 am

a)no
b)yes
c)no

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by Xsecrets » Fri Jun 11, 2010 5:32 am

no at this point depending on what you want the mod to do you have to edit core files. Hopefully in the not too distant future there will be some thought and changes implemented to include override classes and hooks to minimize the necessity.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by silvermarbles » Thu Jun 17, 2010 4:16 am

I have been reading this post and followed most of it which is good.

I wanted to know how the customer downloads the Download?

I can see when I FTP into the website in the downloads folder the download with the token string on the end of the extention. But how would I know the token string is, if I was just logged into the Admin?

Surely there has to be a way under the order status to notify the customer the order has been approved/completed and then the download link sent to the customer automatically somehow?

Your comments most appreciated.

Thanks
Anthony

User avatar
New member

Posts

Joined
Thu Jun 17, 2010 4:06 am
Location - Telford, Shropshire

Post by Xsecrets » Thu Jun 17, 2010 5:41 am

you don't need to know what the token is and the customer never will either. once the order is set to complete (or whatever status you set for download) then the download will be available in the customers account area.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by Qphoria » Wed Jun 23, 2010 9:58 pm

Sounds like you are using a very early release of 1.4.7. Get the latest version of 1.4.7 and replace your file with the one from the zip at:
catalog/controller/account/download.php

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Qphoria » Tue Jun 29, 2010 10:29 pm

ash_in99 wrote:i m using 1.4.8b, i have never used previous versions before.

And in this version there is no catalog/model/catalog/download.php

catalog/controller/account/download.php

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by buckmajor » Sun Aug 01, 2010 11:06 pm

ash_in99 wrote:Please tell me if allowed number of downloads is complete for any user but due to some reason need to increase or allow them to download again, then how can we allow?


If product is download by the user and same product bought again then even after completion of the new order... new download is not alloted to the user.. why?

Please have a look at attached image, in this only 1 order is visible out of 3, is this some bug or I have done something wrong?
Hi there

I hope I understood your question properly. I went through the same process, I tested it out but realized the product was downloaded, and had a 0 download, which means I was unable to re-purchase the same product. However, I noticed the minimum quantity in Admin > Catalog > Products > Data, was set to 1. So I changed it to a higher number, and was able to re-purchase the item using the same account.

What I want to know is a recommended download number for the user, just in case the buyer's internet crash, etc? The downfall of increasing the downloads is; the buyer can either resell, leech them out, and of course lie about the downloads if I set it to 1 download. I just need to be prepared.

Is there a way to know if the buyer has downloaded the products?

What are your thoughts?

Thanks

http://www.dmaireroa.com


New member

Posts

Joined
Tue May 04, 2010 11:29 am
Location - Brisbane

Post by Xsecrets » Sun Aug 01, 2010 11:22 pm

buckmajor wrote: What I want to know is a recommended download number for the user, just in case the buyer's internet crash, etc? The downfall of increasing the downloads is; the buyer can either resell, leech them out, and of course lie about the downloads if I set it to 1 download. I just need to be prepared.
Well all it takes is for them to download it once to resell it, and they can't leech it out no matter how many downloads you give them, because the customer never actually receives a direct link to the file.
Is there a way to know if the buyer has downloaded the products?
unfortunately no at this point there is not. It would be a nice feature though.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by buckmajor » Sun Aug 01, 2010 11:34 pm

True! I see your point, so no matter what, there is no prevention on having the buyer to resell. I guess it is impossible unless they get caught ;D.

http://www.dmaireroa.com


New member

Posts

Joined
Tue May 04, 2010 11:29 am
Location - Brisbane

Post by Xsecrets » Mon Aug 02, 2010 2:10 am

ash_in99 wrote:xsecrets, if we allowed 1 download and that download get's corrupted or there is any other problem... then we can't increase the number of downloads of particular user or reset the downloads of particular user?
honestly I don't know. I haven't dug through the download code in depth with respect to how it works on an account/order basis.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by buckmajor » Mon Aug 02, 2010 12:40 pm

ash_in99 wrote:xsecrets, if we allowed 1 download and that download get's corrupted or there is any other problem... then we can't increase the number of downloads of particular user or reset the downloads of particular user?
I see your point now, I realized I made a mistake about the increase, instead it was a minimum quantity the buyer has to buy :-[ . I have no choice but increase the downloads for the buyer

http://www.dmaireroa.com


New member

Posts

Joined
Tue May 04, 2010 11:29 am
Location - Brisbane

Post by buckmajor » Mon Aug 02, 2010 10:07 pm

ash_in99 wrote:xsecrets, if we allowed 1 download and that download get's corrupted or there is any other problem... then we can't increase the number of downloads of particular user or reset the downloads of particular user?
Hey Ash

Try increasing the quantity to the highest number there is. With a lot of testing, I figured that each time you download a file, the count goes backward e.g. 999999999 to 999999998, and you can increase the total downloads allowed for buyers in case of a internet crash, etc. By the time it reaches 0, then your a Trillionaire, then close the shop ;D .

http://www.dmaireroa.com


New member

Posts

Joined
Tue May 04, 2010 11:29 am
Location - Brisbane

Post by buckmajor » Tue Aug 03, 2010 12:00 am

ash_in99 wrote:Do you want to say, increase the number of downloads to unlimited from 3 or 5, so there is never lack of downloads? Don't you think in that case any user will share the account username and password and everyone start downloading the stuff from my store.
It is the same even if you do set it to 3 or 5 downloads, but that's not what I'm talking about here.

1. You set the quantity unlimited: Admin > Catalog > Products > Quantity
2. Set a minimum number of total downloads: Admin > Catalog > Downloads (I set my one to 3, so the buyer has 3 chances to download the same file without any dramas, it doesn't matter if they download 1 file, they can still leech it out, like the old days of downloading FREE files ;D )

http://www.dmaireroa.com


New member

Posts

Joined
Tue May 04, 2010 11:29 am
Location - Brisbane

Post by buckmajor » Tue Aug 03, 2010 12:21 pm

ash_in99 wrote:when the 3 chances are over, user can't download.
Yep, and the backup plan is to get them to sign up another account if they want the same product ;D . I have no hassles with my one since I'm only selling audio files (mp3s), so I can't see the point for the buyer to buy the same audio, over and over, when they can copy it??

What exactly are you using it for?

http://www.dmaireroa.com


New member

Posts

Joined
Tue May 04, 2010 11:29 am
Location - Brisbane

Post by buckmajor » Tue Aug 03, 2010 9:51 pm

ash_in99 wrote:buckmajor till now you dont understand the question, i think you are just posting only for the sake of your signature. Sorry for that... after explaining so much in detail and anyone dont understand then something is wrong.
Ash what the hell are you on about
"posting for the sake of your signature"
?? What a dude, I should be thanking you for wasting my time trying to help :P

My last words "GOOD LUCK"

http://www.dmaireroa.com


New member

Posts

Joined
Tue May 04, 2010 11:29 am
Location - Brisbane

Post by Nayar » Tue Aug 17, 2010 8:04 pm

ash_in99 wrote:when the 3 chances are over, user can't download.
if a user rebuys the product, would he be able to download it 3 times then?

n00b question.

Newbie

Posts

Joined
Mon Aug 16, 2010 10:30 am


Post by Xsecrets » Tue Aug 17, 2010 8:14 pm

Nayar wrote:
ash_in99 wrote:when the 3 chances are over, user can't download.
if a user rebuys the product, would he be able to download it 3 times then?

n00b question.
when you create the download in the admin you choose how many times the user can download.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by Qphoria » Tue Aug 17, 2010 9:28 pm

Xsecrets wrote:
Is there a way to know if the buyer has downloaded the products?
unfortunately no at this point there is not. It would be a nice feature though.
Eh? Of course there is. It's been there since the start. It's right on the products tab when you edit the order
Image

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 116 guests