view of sales summary in virtuemartThe latest version of Virtue Mart (2) does not include the ability to sell downloadable products, but the Downloads for Sale plugin makes it possible.In this tutorial we will show you how to setup your VirtueMart store to sell a downloadable product.

This commercial product is available in the Joomla! Extensions Directory for 15,00 € ($19.48 approx.). The first time you use the Downloads for Sale plugin, you must create a Global custom field. Then you can upload a digital file, and add it to a product. In this tutorial we will walk you through this process.

You must have VirtueMart installed to complete this guide.

Setup a Global Custom Field:

  1. Login to the Admin Panel for Joomla!, then roll your mouse over Extensions and click Extension Manager.
    accessing the extension manager
  2. Click the Browse button and select the Downloads for sale plugin, it should be in a .zip format. At the time this article was written the file was titled plg_vmcustom_downloads_for_sale_v1.5.2.zip Click the Open button, then click Upload & Install. You will see a notification stating "Installing plugin was successful."
  3. Roll your mouse over Components, and click VirtueMart. In the VirtueMart menu, click the Custom Fields link.
  4. Click the New button, on the top right to create a custom field. You will see a list of available options, fill them in as needed. Below is a brief description provided by Downloads for Sale:

    Option Description
    Custom Field Type: Choose Plugins.
    Title (Enter) a nice title of your choice (displayed above the download links in the product view).
    Cart Attribute (Choose) "Yes" (otherwise the download links will not be shown in the orders and invoices; see also below and the FAQ).
    Select a plug-in VM Downloads for Sale
    Link type for Invoices Determines how the download links appear in the invoices and the order view.
    Link type on Product Page As for invoices, but determines the appearance on the product details pages.
    Type of download Free for all / Free only for registered users / Download only after purchase of the product
    Status to enable paid download Configure the order statuses when a paid download should be available to the purchaser
    Status after download New order status after a file has been downloaded
  5. Click the Save & Close button, and your new Custom Field will be created.

Uploading a Digital File to Sell:

Important: This must be done for each downloadable product.

  1. In the Joomla Dashboard, access the VirtueMart settings again by rolling your mouse over Components and clicking VirtueMart.
  2. In the VirtueMart menu click Shop, then Media Files. Now, click the New button.
    creating new media file
  3. There will be several fields available, fill them in as needed. Below is Downloads for Sale's description of the required fields.

    Option Description
    Unique Filename The title of the download (will be the visible text of the download link, not the downloaded filename)
    Role Select "For sale", otherwise the plugin will not allow you to use this file as a download!
    Storing Location (Choose) "product" (i.e. this is a media file associated with products)
  4. In the Upload File section, click the Upload option, then click the Browse button and choose the digital file you want to sell.
  5. Click the Open button, then the Save button on top. You will see a message stating "Media File saved successfully"

Adding the File to a Product:

Important: This must be done for each downloadable product.

  1. Choose the product you want to add the digital file to, by clicking the Products option under the Products section. You will see all your products listed, click the one you want to add the file to.
    selecting digital product

    If you need help creating a product, here is a walk-through guide.
  2. Click the Custom Fields tab, then choose Downloads for Sale from the Custom Field Type section.
  3. In the Download file section, choose your digital file, it will be listed by the Unique Filename you gave it in the previous section.
    choose the downloadable file
  4. Click the Save & Close button. Your product will now be available on your site for sale.


Congratulations, now you know how to sell a digital product in VirtueMart, using the Downloads for Sale addon. If you are viewing this page from our How to sell downloadable products guide, here is a link back to the original tutorial.

We would like to send a special thanks to the team at the Open Tools Association for providing a copy of the Downloads for Sale addon for this tutorial.
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.