7 replies [Last post]
jprieto's picture
Offline
Joined: 11/09/2007
Juice: 79
Was this information Helpful?

Hello everyone!

Please forgive my ignorance but i really like Ubercart and hpe to contribute to it somehow, but in the meantime, i would humbly ask for help in this matter.

NOTE: i am using drupal 5.1 AND ubercart-5.x-1.0-alpha8

now then....

I am offering a PDF file which i would like to sell as a download file.
I tried many times and I still cannot figure out how to do it. I have Drupal 5.1 and ubercart installed and configured, and have not run into any problem so far. I tested my site (placed real orders) and all works fine..... except

i need to know, step-by-step how to set up a download file for sale.

(a) i already indicated WHERE the folder is
(b) i already uploaded the file and ubercart can list it
(c) i set up a product and
(d) clicked on product/edit/feature to enter product, but

i enteres it as abc.pdf (let's call this method #1)

should it be?:

/home/xyz/public_ftp/abc.PDF (let's call this method #2)

WHICH METHOD IS CORRECT?

----------------------------------------------------------------
PART TWO OF ASSISTANCE NEEDED
---------------------------------------------------------------

how do you change the status of an order?

------------------------------------------------------------------------------
Using the cart in WebARtSale.com -- a new site not yet in production
---------------------------------------------------------------------------

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4110
Re: Selling A Download product -- need help

Hi! We sell downloads on our site so I can help you with this. It's really easy.

After you go to your features tab, and click "Add" Where the drop-down list for "File Download" is, you can start typing the file name as "abc.pdf". As long as you have configured the file downloads directory in the Products configuration admin:

admin/store/settings/products/edit/features

The files will be "relative." In other words, as long as you place your files in whichever directory you specify in the above Configuration menu, the auto-complete text field will find your files as you type in their names.

To update an order status, click on the order detail (through the Admin view - click on a Magnifying glass, which is available as long as your user account has the permissions to View All Orders). At the bottom of the order detail is a drop-down for order status. Simply change the menu and click "Update" and it will change your order status.

You can configure order statuses here: admin/store/settings/orders/edit/workflow

Hope this helps.

--
Help directly fund development: Donate via PayPal!

jprieto's picture
Offline
Joined: 11/09/2007
Juice: 79
(thanks) also... it wont recognize the download directory

Hi,

Thanks for your generous and quick reply

after learning from you how to change status to COMPLETE, the download files currently do display under my account -- hurray!!

BUT NOW....

the problem is that in admin/store/settings/products/edit/features

the directory i assigned is not recognizable if it is above the drupal directory

i installed drupal in a sub directory of my root directory, now i want to place the files for downloads in a directry OUTSIDE my web root directory

it only recognizes directories in the drupal directory, r in a sub directory of drupal

or should i use a sub directry and chmd it to ___ ?

please kindly advise

again, thanks

------------------------------------------------------------------------------
Using the cart in WebARtSale.com -- a new site not yet in production
---------------------------------------------------------------------------

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4110
Re: (thanks) also... it wont recognize the download directory

It's best to have it above your web root, and the way to do that is as you described above. With most LAMP setups, your directory will be similar to this:

/var/www/vhosts/example.com/httpdocs/

I would put your files in here:
/var/www/vhosts/example.com/download/

Remember (I'm pretty sure) you'll need to chmod the folder to have read permissions. Shawn could tell you what they need to be specifically. 744 is probably your best option.

Also, certain hosting providers may place what's called an open_basedir restriction on your setup, which means only certain folders are accessible by the Apache user. If nothing seems to work outside of your web root, you might ask them to make the open_basedir configuration less restrictive.

--
Help directly fund development: Donate via PayPal!

jprieto's picture
Offline
Joined: 11/09/2007
Juice: 79
problem solved

you, sir, are THE man!!

much thanks

------------------------------------------------------------------------------
Using the cart in WebARtSale.com -- a new site not yet in production
---------------------------------------------------------------------------

markremo's picture
Offline
Joined: 11/14/2007
Juice: 4
No drop down box in Product Features Tab

I've setup Ubercart - seemingly successfully. I'm trying to sell a download but receive no "drop down list for File Download" in the Product Settings >> Edit >> Product Features tab. All it says is: The following product features are enabled: No product features found. With Save and Reset buttons.

Any ideas? Thank you!

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4110
Re: No drop down box in Product Features Tab

The uc_file (File Downloads) module is not activated by default. You'll need to activate it (under Ubercart core - extra). Once it's enabled that feature should appear.

--
Help directly fund development: Donate via PayPal!

markremo's picture
Offline
Joined: 11/14/2007
Juice: 4
Figured it out...

I had to install and activate the uc_file module! So simple! Thanks anyway.