Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Will chime in with pleading for help on download link


fxn2write

Recommended Posts

Posted

I notice that several people have pleaded and begged for help in getting the download functions to work. The documentation available on the site has been copied and pasted.

 

I have tried to implement every word of that documentation and there is still no download link to download the product. I am at wit's end.

 

That particular documentation is not working for us. It doesn't tell me what to do, because when I try to do what it says--zippo, nada.

 

How to get the darn thing to work? I've chmoded ad nauseaum and went through and through product attributes to no avail. The configure.php file says what it's supposed to say. The file is in the download folder. What?

 

Where is the download link supposed to appear and when in the process? I assume after checkout? In account order history? Can the buyer go back into their account and download again if allowed?

 

The download function is rudimentary and necessary for me to do what I need to do.

 

I got everything else in the site to work and even modified it a bit. If getting downloads to work is so technical and difficult to do--and can't be adequately explained by the few sentences of documentation provided--maybe there is some other software that is simpler somebody can recommend?

 

I had to reload my entire site after I tried to install that download contribution.

 

I know you people are smart, so there is no need to tell me in technicalese, but could somebody explain in teeny-tiny words for me and obviously some others on how to get the download function to work? What are we missing that isn't clear from the documentation?

Posted

In admin>>configuration>>download set 'enable download' to 'true'. If you have already done that, then you should know that the download links will not appear until the orders status is 'delivered' :D

 

Matti

Posted

Yep, both checked and done. Still no link. Is it a bug? I'm not selling huge amounts so I'm looking for other software solutions.

 

 

In admin>>configuration>>download set 'enable download' to 'true'. If you have already done that, then you should know that the download links will not appear until the orders status is 'delivered' :D

 

Matti

Posted
In admin>>configuration>>download set 'enable download' to 'true'. If you have already done that, then you should know that the download links will not appear until the orders status is 'delivered'

I've been going nuts trying to find this basic answer! I haven't found the order status thing mentioned anywhere else.

 

Another thing that caused me a problem on Linux was that file names are case sensitive. I had a lowercase 'a' in my filename that should have been uppercase.

 

Here's my current checklist for making the download products feature work.

  • Enable downloads from the configuration menu.
  • Make sure your download and pub directories are chmod 777.
  • Upload the file to your 'download' directory.
  • Enter a Product Attribute called something like "Download".
  • When selecting this attribute for a product, enter the file name (not the complete URL) you want the customer to download.
  • The file name is case sensitive in *nix.
  • OS Commerce will copy the file to the 'pub' directory when the customer purchases it.
  • When the customer purchases the item, the download link will be available after checkout.
  • When my file name was not correct, the text displayed without a link.
  • The feature will only work correctly for products purchased after the thing is set up correctly. If you get it right, previous orders will not retro-actively correct themselves.

BTW, I'm running v.2.2 MS2. The cart is heavily modified, but the download feature is straight out of the box.

 

Hope this helps someone with the download feature. Sure would've been nice to save 3 hours searching for it.

I just may be the lunatic you're looking for.

Posted
I've been going nuts trying to find this basic answer! I haven't found the order status thing mentioned anywhere else.

 

Another thing that caused me a problem on Linux was that file names are case sensitive. I had a lowercase 'a' in my filename that should have been uppercase.

 

Here's my current checklist for making the download products feature work.

  • Enable downloads from the configuration menu.
     
  • Make sure your download and pub directories are chmod 777.
     
  • Upload the file to your 'download' directory.
     
  • Enter a Product Attribute called something like "Download".
     
  • When selecting this attribute for a product, enter the file name (not the complete URL) you want the customer to download.
     
  • The file name is case sensitive in *nix.
     
  • OS Commerce will copy the file to the 'pub' directory when the customer purchases it.
     
  • When the customer purchases the item, the download link will be available after checkout.
     
  • When my file name was not correct, the text displayed without a link.
     
  • The feature will only work correctly for products purchased after the thing is set up correctly. If you get it right, previous orders will not retro-actively correct themselves.

BTW, I'm running v.2.2 MS2. The cart is heavily modified, but the download feature is straight out of the box.

 

Hope this helps someone with the download feature. Sure would've been nice to save 3 hours searching for it.

 

I am also looking for some answers on how to make downloads working. can u tel me that the above checklist actually worked for you. where the download link appears.

 

and can someone confirm that the default Option Name of Size and Version are product attributes and the Option Value of Download: Windows - English are variables. am i right on this.

  • 3 weeks later...
Posted

Thank you for taking the time to post a list of considerations to make the links work for downloads.

 

However, mine still aren't working.

 

I can only think of two possible reasons:

1. I am not naming the file correctly in the orders attributes i.e., do I just put the filename or do I have to put the full https://www.etc. etc. etc.

 

2. When I look at my orders, there is an expiry date for the download of 1999???

 

Any ideas.

 

At first I had been putting the files in the wrong folder, because when I read the contribution it said a folder shoppingcartdownloads - my shopping cart is not named catalog, it is actually name shoppingcart.

 

My path is https://www.justchangeit.com/shoppingcart/ and so my download folder is https://www.justchangeit.com/shoppingcart/download/ . Is there something I am doing wrong

 

 

Help please anyone.

Posted

If it was simple, there must be something I am missing.

Posted
1. I am not naming the file correctly in the orders attributes i.e., do I just put the filename or do I have to put the full https://www.etc. etc. etc.

 

2. When I look at my orders, there is an expiry date for the download of 1999???

 

I just used the file name, not the full path.

Not sure what your date problem is. Could be that your date display configuration is not set correctly. Just a guess.

I just may be the lunatic you're looking for.

Posted

The link will not appear if the file is not present in the download directory.

 

Naming of files is also important:

 

- Linux servers are case sensitive

 

- you should not have spaces in your filename

 

 

You should only enter the file name, not the path.

 

Matti

Posted

Nope...

 

I even went back and did contribute 2.0, then 3.0 then the patch to 3.0 then 5.0 and 5.3 versions of this download contribution to see if I missed anything.

 

My expiry dates are now fixed, but the link STILL isn't showing up.

 

I head to disney for two weeks after tomorrow and hoped to get this up. I have been working on it for 5 days now.

 

Teresa

Posted

hmm... thats too bad, but this forum has a new post every minute so it's hard to follow..

Posted
Nope...

 

I even went back and did contribute 2.0, then 3.0 then the patch to 3.0 then 5.0 and 5.3 versions of this download contribution to see if I missed anything.

 

My expiry dates are now fixed, but the link STILL isn't showing up.

 

I head to disney for two weeks after tomorrow and hoped to get this up. I have been working on it for 5 days now.

 

Teresa

 

 

Which contribution? You don't need a contribution for downloads to work - this is probably the cause of your problems :-"

 

Enabling downloads is very simple:

 

1. In admin>>configuration>>downloads set: "Enable Downloads' to 'true'

 

2. In admin>>catalog>>products attributes:

 

(i) Under "Product Options" create an option 'download' - click 'insert'

 

(ii) Under "Option Values" select your new Option from the drop menu, then give it a value, eg 'MP3' - 'insert'

 

(iii) Under Products Attributes select your product from the drop menu

Then select your option 'download'

Then select your option value 'MP3'

Then give it a value price (optional) - eg. 5.00

Then give it a prefix (optional) the default is + but you can use - to deduct

Then enter your 'filename' (Exactly!!! - no spaces in filenames)

Then 'expiry days'

Then 'download count' for how many time they may download

Click 'insert'

 

3. Upload your file to your download directory - it *must* be named exactly as you entered for the filename in admin

 

4. Make sure your web server has the correct date and time - believe me, I have more than once seen where it hasn't! >_<

 

That's it!!!

 

Matti

Posted
Which contribution? You don't need a contribution for downloads to work - this is probably the cause of your problems :-"

 

Enabling downloads is very simple:

 

1. In admin>>configuration>>downloads set: "Enable Downloads' to 'true'

 

2. In admin>>catalog>>products attributes:

 

(i) Under "Product Options" create an option 'download' - click 'insert'

 

(ii) Under "Option Values" select your new Option from the drop menu, then give it a value, eg 'MP3' - 'insert'

 

(iii) Under Products Attributes select your product from the drop menu

Then select your option 'download'

Then select your option value 'MP3'

Then give it a value price (optional) - eg. 5.00

Then give it a prefix (optional) the default is + but you can use - to deduct

Then enter your 'filename' (Exactly!!! - no spaces in filenames)

Then 'expiry days'

Then 'download count' for how many time they may download

Click 'insert'

 

3. Upload your file to your download directory - it *must* be named exactly as you entered for the filename in admin

 

4. Make sure your web server has the correct date and time - believe me, I have more than once seen where it hasn't! >_<

 

That's it!!!

 

Matti

 

Matti, I appreciate you taking the time. I have gone back to the latest 2.2 files so the contribute has been essentially removed.

 

The order comes up with the right expiry date and the 5 downloads. but the download link doesn't click.

 

 

I have carefully followed every step again, however, I still am not getting a link.

 

I am at a last ditch effort. I am sure it is something simple but I am not getting anywhere.

- my item has 0 weight

- the product attributes are set for Download and the value option is Yes

- the download file is an adobe .pdf file which I have in my shoppingcart/download/ folder shoppingcart being my catalog folder which would have my admin and includes etc.

- the filename is the exact filename with the extension all lowercase, one word, no spaces

- the upload status default is processing which is 2, and even when I change the upload status to delivered or updated it still doesn't show up.

- I have checked the properties of my server folders for download and pub and they are set at 755 and 777 respectfully.

- I don't know where to check the time and date on my server, but have emailed my host provider on that issue

- I have set the download configuration in the admin panel to enable download=true, download by redirect=true the default expiry is 7 and the default download is 5.

 

I have gone over this and been struggling for 5 days now. I can't see where I am going wrong.

 

 

Can you help at all.

 

Teresa

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...