Page 2 of 8

Re: [RELEASED] Product Downloads

Posted: Fri Jul 01, 2011 7:00 pm
by Maansy
this is a great mod. you should VQ it now ;)
thank you

Re: [RELEASED] Product Downloads

Posted: Sat Jul 02, 2011 10:08 am
by perk
Hi bull5-i

Great, thanks, it all works perfectly now!

perk

Re: [RELEASED] Product Downloads

Posted: Wed Jul 06, 2011 9:52 pm
by bull5-i
Version 1.5.0 is out. This adds easy linking to all products.

Re: [RELEASED] Product Downloads

Posted: Sat Jul 09, 2011 3:28 am
by tjonnyc
.

Re: [RELEASED] Product Downloads

Posted: Sat Jul 09, 2011 3:33 am
by tjonnyc
OK, seems that I've missed a few things.

Just realized that not only do I have to check all the settings in the module, then I have to go into "Downloads" and check the "Free" checkbox.

Did that, clicked "Save" - got the following:

"Notice: Undefined index: all_products in /home/account/public_html/admin/model/catalog/download.php on line 68
Warning: Cannot modify header information - headers already sent by (output started at /home/account/public_html/admin/index.php:76) in /home/account/public_html/vqmod/vqcache/vqcache_system_engine_controller.php on line 27"

Re: [RELEASED] Product Downloads

Posted: Sat Jul 09, 2011 3:36 am
by tjonnyc
Playing around produced "Undefined index: all_products" in a few more places...

Am I missing a database table/field somewhere?

Re: [RELEASED] Product Downloads

Posted: Sat Jul 09, 2011 2:22 pm
by bull5-i
Which OpenCart version are you using?

Re: [RELEASED] Product Downloads

Posted: Mon Jul 11, 2011 9:40 pm
by tjonnyc
Using 1.4.9.5 (custom template).

Re: [RELEASED] Product Downloads

Posted: Thu Jul 14, 2011 1:03 am
by tjonnyc
OK, re-checked everything... for some reason, Dreamweaver didn't save the changes in 2 files.

So... now I got it to show up in Admin, and the tab comes up on the product page, but with an error message:

Fatal error: Call to a member function link() on a non-object in /home/account/public_html/vqmod/vqcache/vqcache_catalog_controller_product_product.php on line 639

Re: [RELEASED] Product Downloads

Posted: Thu Jul 14, 2011 1:07 am
by tjonnyc
Could it be related to this line?

'href' => $this->url->link('product/download/download', 'download_id=' . $result['download_id']),

Re: [RELEASED] Product Downloads

Posted: Tue Jul 19, 2011 1:49 am
by tjonnyc
Any clue regarding the error message "Fatal error: Call to a member function link() on a non-object" ?

Re: [RELEASED] Product Downloads

Posted: Tue Jul 19, 2011 3:34 am
by bull5-i
Yes, this is correct for OC 1.5, but not for OC 1.4.9.5.
The correct line should read as follows:
'href' => HTTPS_SERVER . 'index.php?route=product/download/download&download_id=' . $result['download_id'],

I've fixed the manual installation instructions.

Re: [RELEASED] Product Downloads

Posted: Wed Jul 20, 2011 2:17 am
by bull5-i
Added OpenCart 1.5.1 support and released version 1.5.1

Re: [RELEASED] Product Downloads

Posted: Thu Jul 28, 2011 1:54 am
by tjonnyc
Updating or adding a new download produces the following:

Notice: Undefined index: all_products in /home/account/public_html/admin/model/catalog/download.php on line 16
Warning: Cannot modify header information - headers already sent by (output started at /home/account/public_html/admin/index.php:76) in /home/account/public_html/vqmod/vqcache/vqcache_system_engine_controller.php on line 27

---------

Am I still missing a database field/table?

Re: [RELEASED] Product Downloads

Posted: Thu Jul 28, 2011 2:18 am
by bull5-i
No, this is not connected to database.
What does admin/model/catalog/download.php on line 16 read?
It's looking for an array element called "all_products" that is not there.

Did I buy the wrong plugin?

Posted: Sat Aug 06, 2011 11:13 pm
by igabc
Hello everyone!

I am trying to change system from Magento to OC.

I have purchased this plugin because we sell only downloadable products (1GB+ Rar files). Files are uploaded to our server and then added to the downloadable product in Magento admin.

This is the way it works in Magento:

- Downloadables are managed as a product. OC mages downloads as part of a product. Ok.
- when a customer places an order, he gets an email receipt with the download links + links in his account page on our store - I see this is not happening using this plugin. Not a problem, as long as the links are visible in the account page (which I can't find).
- We split our RAR files into directories for server HD space management and it's easy in Magento (using a special script) to add all the files within a given directory (let's say we have the product "1234", we placed all the rar files into the folder "1234" and we add all the files within to the 1234 product with the click of a button.

So...

1) it would be nice to have a dropdown menu (or checkbox) containing all the subfolders that contains the rar files and a ADD (submit) button to add all the files to a specific product/downloadable.

2) It would also be nice to have all the files links in the email receipt.

3) latest but not least.... how do I find the DOWNLOAD TAB and it's files after the purchase as they are not to be given for free?

this is our store: http://www.vero-fs.com/store - If you want to see how the whole system works, you may want to purchase (for free) this item http://vero-fs.com/store/36116-patch.html

I really would like to get rid of Magento but... this functions are mandatory for us.

thanks a lot!
Gabriele


EDIT

I have just tried to add multiple files to a product. Everything looks fine but when I click on the download button in the account page (after purchase) I get an error page saying the files are not found


"http://vero-fs.com/oc/index.php?route=a ... nload_id=5"
Error 6 (net::ERR_FILE_NOT_FOUND): The file or directory could not be found.

http://vero-fs.com/oc/index.php?route=p ... duct_id=54 (freebie)

Re: [RELEASED] Product Downloads

Posted: Sun Aug 07, 2011 8:01 pm
by bull5-i
This mod is for free downloads.
The functionality for selling downloadable products is built into OpenCart. After changing the order status to complete, the download should appear in the user account page.

Re: [RELEASED] Product Downloads

Posted: Sun Aug 07, 2011 8:05 pm
by igabc
Yes that is how it works but the links to the files give an error. See my EDIT part above. THanks

Re: [RELEASED] Product Downloads

Posted: Sun Aug 07, 2011 8:56 pm
by igabc
same product, a new file uploaded via downloads page, give no errors.

Re: [RELEASED] Product Downloads

Posted: Tue Aug 09, 2011 3:28 pm
by penguincoding
Hi,

could you integrate my feature requests into your free downloads mod, or maybe create a new one altogether?

http://forum.opencart.com/viewtopic.php?f=110&t=38058

Greg