Brief Introduction

Educate the world and sell courses online with our easy to use MooWoodle Plugin. The responsive plugin is an extension of WooCommerce that acts as a bridge connecting Moodle and WordPress. This means, that MooWoodle lets you sell courses created in your moodle account on your WordPress page.  



PHP is version 5.6 or greater (compatible with the latest PHP 7.3 too)

WordPress 5.0 or greater 


MooWoodle  3.0

MooWoodle Enrolment 


MooWoodle Setup Guide 


The configuration of the Moowoodle plugin will let you synchronize your WordPress account with your Moodle account. With is selling courses online will be a mere child’s play. 

Configure MooWoodle Settings

To properly set up your MooWoodle Plugin and sell courses online, you must configure the following settings – 

General Settings 

The general settings section lets you configure the basic operations that let you sync your MooWoodle data with WordPress. Apart from this, your user information will be updated on the WordPress site.

Connection Settings 

The connection settings of the MooWoodle plugin lets connect your Moodle instance with your WordPress Website so that you can sell your courses online. To connect Moodle with WordPress you must – 

  • Go to the WordPress Dashboard and Navigate to MooWoodle Plugin. From the list of MooWoodle menu options, select the Settings option.
  • Once the Settings page loads, go to the Moodle Site URL and add the Moodle instance web address. This basically indicates the web address found on your Moodle Account Page. 
  • Once the Moodle Site URL field is filled add the Moodle Access Token,  this refers to the web token generated from your Moodle site. The process to obtain your web token will be explained in the Moodle Configuration section of this article. 
  • Once both the connection settings field are filled, you can save your settings by selecting the save option available below. 

Reference 1: Configure Connection Settings



User Information Settings 

The user information setting helps you update the information of any new user purchasing your courses. So, information on new candidates would be available on your moodle account as soon as he/she signs in. The following steps are how you can accomplish this – 


  • Go to the Settings option available on the MooWoodle menu list and wait for the settings page to load.
  • On the Settings page, scroll down to the user information settings section
  • Once there, simply toggle the Overwrite Moodle User Data By WordPress Data option
  • After you have completed this step save this setting by selecting the  Save All Changes option.  

Reference 2: Toggle User Settings 


Display Tab

The configuration of the Display tab lets you decide about what and where your wish to present your courses. These details make it easier for your learners to know more about your courses. 

  • Go to the MooWoodle option available on the WordPress dashboard. From the list of MooWoodle options select the Settings option.
  • Once the Settings page appears, navigate to the Display Tab
  • Here you can decide to display the beginning time and date of courses by toggling the Display start date and end date in the shop page option. 
  • In the next section, you will find the My Courses Menu Position option.  This option lets you determine the position in which you want your courses to be displayed. 
  • You can save the following settings by simply clicking on the Save All Changes button.


Reference 3: Decide Display Option

Sync Moodle with WordPress

As discussed MooWoodle is the bridge that connects Moodle to WordPress and WooCommerce. One of the prime tasks of this bridge is to synchronize your Moodle data with that of WordPress. This way you can don’t have to worry about transferring data back and forth. 

To synchronize your Moodle courses with WordPress, you must – 

    • Go to the WordPress dashboard and then navigate to the MooWoodle option. From the list of MooWoodle options, select the Synchronization option.
    • Once the Synchronization page appears you can manage the following settings –
      • Synchronize Courses – Enabling this option will let your moodle courses synchronise with that of WordPress. This way students purchasing your courses from the WordPress site can have access to data present in Moodle
      • Synchronize Course Categories – Similar to the previous settings, enabling this option will let you synchronize your moodle course categories with that of WordPress. So, if you are selling more than one course of two different categories that too would available to your users.
  • Automatically Creates Products From Courses – To convert your Moodle courses into WooCommerce ‘products’ you need to toggle this option. 
  • Once all required settings are completed, you can select the Sync Now button. 

Reference 4: Toggle to Synchronize


Create a Moodle Course Product 

To create a course that can be sold on your website, you must follow the given method- 

  • Go to the Product Menu option available on your WordPress Dashboard. Once the Product option is selected, you can click on the All Product sub-menu option
  • On the All Product page, navigate to the course you wish to sell. Hover your cursor over the course of your choice and select the edit option after it appears. After you select the edit option will be transported to the Course page. 
  • Once the Course page appears, you can edit the price by dragging your mouse over the data meta box.
  • Scroll below, and you will see the Course Id field. As your WordPress is synced with Moodle, Courses created by you will appear as options. Select the required course. 
  • Once all changes have been made you can select the Update button and sell your courses. 


Note: Make sure the Automatically Creates Products From Courses option is enabled or else you will be unable to edit and add a price for your courses. 

Reference 5: Create Courses


Configure Moodle 

Now that you have completed the MooWoodle Setup you will have to configure your Moodle account. Making changes to your Moodle account will make it easier for Moodle to exchange data with WordPress. Once the data exchange process is complete, you will be able to view your Moodle courses on your WordPress Page. Thus making it easier to sell.


MooWoodle Enrolment Setup 

Installation of the MooWoodle Enrolment extension in your Moodle account will help open the ‘gateway’ through which WordPress Can interact with Moodle. This is required to ensure that your Moodle account receives information about candidates purchasing your courses while they (candidates) receive information on courses available in Moodle. 

The MooWoodle Plugin is extremely easy to install and easy to activate. And to make this better there is no one way to install it. Given below are the two ways in which you can install the MooWoodle plugin. 

Method I – Download MooWoodle

  • Download the plugin from the WordPress site 
  • Open your WordPress Dashboard and navigate to the Plugin menu option. From the Plugin menu list, select Add New sub-menu option. 
  • Once the Add New page Loads select the Upload option found on the top, near the Add New heading
  • Copy and paste the MooWoodle file downloaded from the WordPress site
  • Once installed select Activate to get started instantly 


Method II – Add MooWoodle 


  • Go to WordPress and navigate to the Plugins menu option
  • Once the Plugin page loads select the Add New option. 
  • On the Add New page drag your mouse to the Search field and type MooWoodle
  • Once the MooWoodle Plugin option appears, select the Install button 
  • Once Installed click on the Activate button to get started with Moodle 

Install and Activate MooWoodle Enrollment 

Installation of the MooWoodle Enrolment extension in your Moodle account will help open the ‘gateway’ through which WordPress Can interact with Moodle. This is required to ensure that your Moodle account receives information about candidates purchasing your courses while they (candidates) receive information on courses available in Moodle. 

The Moowoodle Enrolment Extension will allow users who have purchased your courses to have access to them.

To properly configure your Moodle Website make sure to download the latest MooWoodle Enrolment extension.

To set up the moowoodle enrolment extension on your moodle site follow the given steps – 

  • Go to your Moodle Dashboard and navigate to Site Administration. Once the Site Administration page loads drag your cursor to the Plugins Tab.
  • Under the Plugins tab, select the Install Plugin section. Once the Plugin Installer page opens, drag your downloaded MooWoodle Enrollment file to the zip package section.
  • After you have added the MooWoodle Enrolment file select the Install Plugin from the Zip File button. When you click the button your installed file will get validated. Once the validation is successful select the continue button. 
  • Selecting the Continue button will conclude the installation process and add moowoodle enrolment to your moodle website.

With this, we come to the end of our installation guide. We hope this tutorial will assist you in learning how to install the MooWoodle Enrolment extension on your Moodle site.

Enable Web Service 

As mentioned previously in this document, the configuration of Moodle is required to exchange data with WordPress. By enabling the web service you can now add functions that will allow Moodle to communicate with WordPress.


Since Moodle has Web Services disabled by default, we will have to enable it. The steps to enable Moodle Web Service are – 

  • Go to the Moodle Dashboard and then navigate to Site Administration.
  • On the Site Administration page present in the Development Section is the Advanced Features option. Click on the advanced features option
  • As the Advanced Features page loads, scroll down and tick the Web Service option.
  • Save your changes and proceed to External Sevices Settings. 

Reference 6: Enable Web Service


External Service Setting 

Configuration of the External service means adding functions to Moodle that make open the communication channels to WordPress. This will make it easier for you to transfer course data.


Add External Service 


To start the configuration of the external service let us take a look at the steps given below – 

  • Go to the Site Administration option of your Moodle Dashboard. Once there select the Server Tab
  • Scroll down the Server Tab and select External Services found beside the Web Service section. 
  • Once you have selected the External service option you will be directed to the External Service Page. On the External service page, go to the Custom Services section.
  • To add an external service select the Add button available under Custom Services section. Once you have selected the Add button you will be asked to provide a name for the service. Name your service as ‘MooWoodle” for convenience and select  Add Service
  • After you added the Service add the Functions. To do this simply return to the external service page click the Function button of your MooWoodle Service. You will notice you are being directed to the Functions page.
  • On the Function page, select the add option and copy-paste the codes given below – 


Sl.No. Codes Functions
1 core_user_create_users This code will help in creating users
2 core_user_get_users Using this code the client can search for users meeting the parameters
3 core_user_update_users With the help of this code, the client can update his/her users
4 core_course_get_courses Clients can get courses by adding this course 
5 core_course_get_categories Course categories will be available once this code is added
6 enrol_manual_enrol_user This code is required to enrol new users.


  • Once all Functions are added return to the Site administration page. 

  Reference 7: Add External Service


Manage Protocol


Managing Protocols links one website to another. In this case, we just need to enable the REST protocol. Requirements for easily completing this process is given below.


To enable REST protocol 

  • Go to Site Administration and then navigate to the Server tab.
  • Under the Server tab, you will find the Web Services option. Select Manage Protocols from the List of Web Services.
  • On the Manage Protocols page, click on the eye icon. Once selected, the REST protocol will be activated.

Reference 8: Manage Protocols 



Access Token


We are sure you remember how we promised to teach you how to generate the Access Token Required for your MooWoodle Settings. To do so all you have to do is – 


  • Go to Site Administration and then navigate to the Server tab.
  • Under the Server tab, you will find the Web Services option. From the list of web services select the Manage Tokens option. 
  • On the Manage Tokens page select Create Token. Once selected you will be directed to the Create Token page.
  • In the Create Token Page add the following option – 
    • User – This refers to the person managing the Moodle. In this case, selected Admin user. 
    • Service – the service implies the external service added by you. In our case, it is the MooWoodle we had added previously. 
    • IP restriction – You can add an IP restriction if required or leave it blank. It is not mandatory and you can happily skip this option.
    • Valid Date – Enable and add the Date till which your courses would be available. In case you plan to make it available at all times skip this option. 
  • Once all required information is added select Save changes. After you have saved your changes you will be re-directed to the Manage Tokens page. 
  • In the Manage Tokens Page, the Token Code will be displayed. Copy this code and paste it to your MooWoodle Setting available on WordPress. 

Reference 9: Generate Access Token

Manage Mobile Settings 

To give access to mobile users intending to purchase your courses, to will have to configure the mobile setting. This setting is easy to configure and will hardly take five seconds. 


To enable web services for mobile devices on the Moodle site, you have to –

  • Go to the Moodle Dashboard and select the Site administration option.
  • Once the Site Administration option is selected, go to the Mobile app section and select Mobile Settings 
  • Select Save Changes to complete the settings.

Reference 10: Mobile Settings




With this, we come to the end of our tutorial. We hope this tutorial will help you sell and educate people willing to learn your expertise.