Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

A stupid question...


markchiu

Recommended Posts

Posted
Download

You need to enable this if you are going to allow people to download products at checkout from your store.

 

First, put the product to be downloaded in the download folder on the Internet:

catalog/download

 

It will be read from the "pub" folder.

Make sure /catalog/pub is 777 and /catalog/download is 755 and these files in catalog/includes/configure.php have the forward slash:

 

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

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

 

Under configuration in the admin set up the download info, true, true, expiry date, max number of downloads.

 

Add the product in the admin under "catalog", "categories/products.

 

After you have added the product go to "Product Attributes" under the "Catalog" heading in admin.

 

Choose the product in the bottom "Product Attributes" box.

 

When you choose a product and have download enabled in the configuration section you will see a box below the "Product Attributes" section where you can add the product as a download.

 

Hello, everyone. I am confused on how to download a file.....so here we go......how and what and where should i add to the download....i mean what is the language to be placed on.....I don't know how to write it.....

 

and where do I put these two in which folder???

 

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

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

 

 

Thank you so much :lol:

OS-commerce is great, but with other magical contributions, that is just so "COOL"!

Archived

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

×
×
  • Create New...