Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

A couple of download questions


Narek

Recommended Posts

Hello Everyone,

 

I'm planning to start a download site here. I've basically got everything set up, but there are two questions I'd like to ask.

 

First one, since I'm running a download site there's no shipping going on. I was wondering if there was any way to surpass the shipment page when the user checks out. I tried disabling the shipment modules, but it didn't help.

 

The second question is the following. Is there any way I can set up unique downloads? To explain this, I would like a downloadable product to act as a single physical product - there's only one available, you buy it, it's gone from the catalog?

 

Thanks in advance,

Narek

:)

Link to comment
Share on other sites

Hi narek. looks like u and me want the same thing. I help u with your questions and u help me with the downlaods questions. (my problem).Ok

 

To surpass the shipment page, there is a contribtin for this called Remove address book checkout upgrade.zip. i also want to make a download store and i add this to my site and it works great. there will be no delievery_information.php page after u add this contribution and the checkout will be on three clicts instead of four. OK.

 

 

to your second question. You can mark the product as stock contains only 1 peice remaining and when the customer buys it, its gone bcoz the stock had ended for that product. quite easy i think.

 

Hope i help u.

 

Now i want to know, How u can make your customer download something from your site. where u should put the download products. i want to sell books online (downloadable). Can u expalin me how to configure a downloadable store.

 

Thanks

Link to comment
Share on other sites

Now i want to know, How u can make your customer download something from your site. where u should put the download products. i want to sell books online (downloadable). Can u expalin me how to configure a downloadable store.

 

Once you specify a filename to an attribute the download option becomes available. The download directory to store your d/l files (not where the customers download) is defined in the configure.php

  define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

 

The customers download from subdirectories from this definition

 

  define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

because there is code to generate a random directory-name and place a copy of the actual file there.

 

If you want to use the stock for download control as you said you set it to a number and for an exclusive d/l store you modify the checkout_process.php to treat all products as virtual. This also takes care of the shipping pages.

 

Finally you may also want to allow the d/l after the payment is through. In that case you modify the catalog\downloads.php adding to the sql query at the beginning of the file an additional check for the order's status.

 

Hope it helps

Link to comment
Share on other sites

Hi,

 

I have my oscommerce store running for months now...its actually doing good. I'm selling printed manuals....I want to sell a ebook of these manuals...making the customers to choose whether they want a printed one or a ebook of this manual.....

 

I hope you guys can give me ideas on how to do this....I actually applied download controller...but its not working in my end....I will have to look at this again....

 

Any ideas would be much appreciated....

 

Thanks guys....!

Birds with same feathers, are same birds.

Link to comment
Share on other sites

  • 4 weeks later...

Archived

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

×
×
  • Create New...