Active
Project:
e-Commerce
Version:
5.x-3.5
Component:
product
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Dec 2008 at 00:10 UTC
Updated:
30 Dec 2008 at 09:16 UTC
Can someone please give me a step by step guide to creating a file product for download.
I have the upload module activated, I attach a file to the product I am creating, when I press submit it comes back with the message...
"Please enter the path to the file."
and this remains until I select a file in the FILE SETTINGS box. This file had previously been ftp'd by myself into my files folder.
As this is for an end client I cannot expect them to ftp their files up to the site for their clients in turn to pay for and download.
How can the system be configured so the file they are attaching is the file the end client purchases. I feel I am missing something here.
Any help appreciated.
Thanks,
Keith
Comments
Comment #1
dublin drupaller commentedDrupal is asking you for the "path to file" because when you attach a file to a node, as normal, it's stored in your regular Drupal
filesfolder which is too easy to guess and download without paying...or using sites like this http://file2hd.com hence, your "FILE for sale" is implemented as a seperate field in a FILE PRODUCT NODE.On that point, it's worth setting up the FILE PRODUCT MODULE settings page so it points to your private file folder outside your public_html folder. Once that's done, the "path to file" field in file product nodes should automatically detect and display a drop down list of files when you're adding or editing a new product....so your client doesn't have to remember the full path
Until the "private" files functionality is tightened up in Drupal core, I'm afraid the only safe way of adding file products to a Drupal shop is by using FTP (or maybe the FTP Module - I haven't tried that) and then selecting them in the "PATH TO FILE" field in the file product node. Alternatively have a look at the private_upload module or check out this discussion about public/private video files: http://drupal.org/node/235667
I know that's not a direct answer to the issues about handing the site over to your client and the issues involved for them using FTP etc. but I thought it might help reduce some head scratching for you.
Comment #2
Keith Hurst commentedDubliner,
thanks for your input here.
Keith