VirtueMart2: Difference between revisions

From Joomdle
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Languages}}
{{Languages}}
====Integrating Joomdle with Virtuemart 2.0.2====
====Integrating Joomdle with Virtuemart====
 
<span class="alert">This "feature" is provided as is and no warranties, guarantees or otherwise, expressed or implied, are provided. Joomdle and individuals associated with its development and support shall not be held responsible for any loss of data, reputation, and/or money in any currency whatsoever. It is strongly advised that this "feature" be installed, configured, tested and proven working in a test environment prior to being implemented in a production site.</span>
 
''This document applies to Joomdle R0.8 and Virtuemart 2.0.2 on Joomla 1.6/1.7/2.5''


====Features====
====Features====
Line 13: Line 9:
* Sends a "customised" email to the Buyer confirming their purchase / provide instructions on gaining access.
* Sends a "customised" email to the Buyer confirming their purchase / provide instructions on gaining access.


====Virtuemart 2.0.2 Configuration====
====Virtuemart Configuration====


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




Line 23: Line 19:


====Joomdle Configuration====
====Joomdle Configuration====
======Moodle======
The package enrol_joomdle.zip contains a new enrolment method for Moodle.
To install, unzip enrol_joomdle.zip into a temp folder and copy the files to the moodle/enrol folder on your web server (you should have a new folder called moodle/enrol/joomdle now).
Enter Moodle as an administrator.
A new enrol method, called Joomdle, should appear in Courses/Enrolments. Enable it and set it as default.
[[Image:r023_moodle_enroll_1.jpg|800px]]
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.


======Joomla======
======Joomla======
Line 59: Line 37:
* Enter'''''COURSE_NAME''''' and '''''COURSE_URL''''' for Joomdle to "grab" the values from Moodle.
* Enter'''''COURSE_NAME''''' and '''''COURSE_URL''''' for Joomdle to "grab" the values from Moodle.


<span class="alert">This "feature" is provided as is and no warranties, guarantees or otherwise, expressed or implied, are provided. Joomdle and individuals associated with its development and support shall not be held responsible for any loss of data, reputation, and/or money in any currency whatsoever. It is strongly advised that this "feature" be installed, configured, tested and proven working in a test environment prior to being implemented in a production site.</span>
======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.
 
[[Image:r023_moodle_enroll_1.jpg|800px]]
 
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.

Revision as of 14:33, 25 March 2015

Integrating Joomdle with Virtuemart

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 "customised" email to the Buyer confirming their purchase / provide instructions on gaining access.

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 Global Parameters configuration.

Joomdle Configuration

Joomla

First, you need to install and enable the joomdlevm2 plugin, that you can find in other-joomla-packages folder in Joomdle package.

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:R023 vm int joomdle config 1.jpg

Enter the Virtuemart Product Category ID for which you wish Moodle's courses to appear. This means you will not need to manually create Virtuemart products.

Moodle courses will automatically be created in Virtuemart and Published.

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 Virtuemart.