Support Login







Bookmark and Share

VirtueMart - Setting up Downloads to be Purchased as Products

First, you will need to configure the 'Download' option

  1. Login to the Virtuemart administration
  2. From the left menu choose 'Admin' > 'Configuration'
  3. Choose the 'Downloads' tab
  4. Set the following:
    • 'Enable Downloads' - make sure this box is enabled.
    • 'Order Status which enables download' - the best option for this is 'Confirmed' (makes sure they don't get the download link until payment is confirmed)
    • 'Order Status which disables downloads' - the best option for this is 'Canceled'
    • 'Downloadroot' - Caution: do not change this from the default setting or this function will not work
    • 'Download Maximum' - the number of downloads allowed for one purchase
    • 'Download Expire' - Sets the time range in seconds in which the download is enabled for the customer. This range begins with the first download! Note : 86400s=24h
    • 'Keep Product Stock Level on Purchase?' -  When enabled, the stock level for a downloadable product is not lowered although it was purchased by customers.
  5. Click Save

Next, You must add the file to the product

  1. Login to the Virtuemart administration
  2. From the left menu choose 'Products' > 'List Products'
  3. You will see a list of your products - next to the product name under the 'Media' column - click the small image
  4. In the window that pops up click 'New' from the top right corner
  5. Fill out the Upload fields:
    • 'Filename' - click the 'browse' button and choose the file on your computer
    • 'File Type' - choose 'Downloadable Product File (to be sold!)'
    • 'Upload to' - Choose 'Download Path'
    • 'File Title (what the Customer sees)' - This will be the title of the file the customer sees
    • 'File URL (optional)' - You can leave this blank
  6. Click 'Save'
When a customer purchases this item, and their order status is set to 'Confirmed' (either by completing payment through Paypal, or be you setting the status manually). They will then receive an email that will include a link to the download and a 'download code' that they must enter do start the download.