VirtueMart2

From Joomdle
Revision as of 15:45, 15 April 2015 by Antonio (talk | contribs)
Jump to navigationJump to search

Features

  • Allows webmasters to publish Moodle courses inside a Virtuemart storefront
  • Allows Buyers to purchase a Moodle course like any other product offered through Virtuemart
  • Automatically enrolls the Buyer in the selected course(s).
  • Sends a configurable email to the Buyer confirming their purchase / provide instructions on gaining access.

Required plugins

In order to user Joomdle-Virtuemart integration you will need to install and enable these plugins:

  • Virtuemart Selling Courses
  • VirtueMart 2 Orders

Virtuemart Configuration

Ensure you have Virtuemart installed and working properly wirh normal products before you begin.

Create a new Virtuemart Product Category

Under the Virtuemart Product Menu, create a new Virtuemart Product Category to group your Moodle courses. Take note of Product Category's ID, as you will it later to enter into Joomdle configuration.

Joomdle Configuration

Joomla

To start using Joomdle's Virtuemart integration, enable it in Joomdle Global Configuration (click on the Parameters button in Joomdle Configuration) as shown in the image below.

File:Shop integration vm.jpg

Enter the Virtuemart Product Category ID for which you wish Moodle's courses to appear.


In addition, you can configure Joomdle to send out an email to the buyer once the payment has been completed successfully.

  • Either enter the Subject and Body of the email you wish to send; or
  • EnterCOURSE_NAME and COURSE_URL for Joomdle to "grab" the values from Moodle.
Moodle

The package enrol_joomdle.zip contains a new enrolment method for Moodle. This plugin is not required, and it is only useful for:

  • Setting a cost for course in Moodle
  • Showing a link to course in shop when user tries to enter course without enroling first


You can install it using Moodle's plugin installer at Site administration->Plugins->Install plugins.

After completing installation, go to Site administration->Plugins->Enrolments->Manage enrol plugins.

A new enrol method, called Joomdle, should appear in the list. Enable it so you can start using it.

Click Edit to configure its options:

  • Default cost: The default cost to enroll in courses
  • Currency: Your preferred default currency for courses
  • Enrol message: A message to show to the user if he tries to access the course without having paid. You can include the string BUY_COURSE_URL to show a link the the product page in shop.

The package enrol_joomdle.zip contains a new enrolment method for Moodle. This plugin is not required, and it is only useful for:

  • Setting a cost for course in Moodle
  • Showing a link to course in shop when user tries to enter course without enroling first


You can install it using Moodle's plugin installer at Site administration->Plugins->Install plugins.

After completing installation, go to Site administration->Plugins->Enrolments->Manage enrol plugins.

A new enrol method, called Joomdle, should appear in the list. Enable it so you can start using it.

Click Edit to configure its options:

  • Default cost: The default cost to enroll in courses
  • Currency: Your preferred default currency for courses
  • Enrol message: A message to show to the user if he tries to access the course without having paid. You can include the string BUY_COURSE_URL to show a link the the product page in Virtuemart.