Installation and Settings

Integration of WooCommerce into MasterStudy LMS allows you to fully manage the course buying process. Once you choose to use WooCommerce all the payment processes will be controlled by the WooCommerce plugin.

To facilitate the management of the sale of courses, we have developed an integration of the MasterStudy LMS plugin with the WooCommerce plugin. Since the WooCommerce plugin has advanced functionality and many additional add-ons for the introduction of sales accounting, you will have the opportunity to expand the selling of courses as an e-commerce platform.

Orders Managament

WooCommerce Installation

1

To install the WooCommerce plugin, navigate to WP Dashboard > Plugins > Add New

2

Search for the WooCommerce, and among the suggested plugins, install the WooCommerce plugin and activate it:

Setup WooCommerce x MS LMS

Once you have both MasterStudy and WooCommerce plugins activated on your WordPress, you have to configure the following settings to let them function smoothly and without problems.

WooCommerce Pages

To proceed smoothly with the purchase process, make sure that the Cart page, Checkout page, and My Account pages are specified under the WooCommerce > Settings > Advanced tab > Page Setup section.

Pages will automatically come after the activation of the WooCommerce plugin and should already have been specified there.

WooCommerce > Settings > Advanced tab > Page Setup

For some reason, if some core pages are missing, you can quickly regenerate them by following WP Dashboard > WooCommerce > Status > Tools > Create Default WooComerce Pages and Create Pages:

WP Dashboard > WooCommerce > Status > Tools > Create Default WooComerce Pages

WooCommerce Payments

MasterStudy LMS includes several popular native payment methods like PayPal and Stripe, which can be checked here. However, integrating the payment methods of WooCommerce is one of the main reasons why we are using it, as this plugin has been integrated with hundreds of payment methods globally.


Payment methods of WooCommerce can be managed by following WP Admin > WooCommerce > Settings > Payments tab:

WP Admin > WooCommerce > Settings > Payments tab

If there is not your desired payment gateway to use, you can choose the WooCommerce payment extensions to enable the preferred payment method. All available payment extensions can be found on the WooCommerce extensions store or other resources.


In the Offline Payment and Wire Transfer options, when each order is placed, the admin should grant access to the course to students manually. Automated payment methods like PayPal or Stripe, have been designed to change the order status (grant access to the course) automatically.


However, we highly recommend checking all of your payment methods and order statuses after each order or regularly.

Enabling MasterStudy x WooCommerce Integration

After configuring the WooCommerce, you can enable the integration from MS LMS Settings.

1

Follow WP Dashboard > MS LMS > Settings > General and enable the WooCommerce Checkout. Save the settings:

WP Dashboard > MS LMS > Settings > General
2

That's it. From now on, your courses will be sold via WooCommerce.

Guest Checkout

To enroll a user in a course, the MasterStudy plugin needs to know which user to provide access to the course content to. Hence, there should be a specific user in the WordPress system to be able to apply to the course. That's why the user who wishes to purchase the courses needs to create/have an account.

1

Follow WP Dashboard > WooCommerce > Settings > Accounts & Privacy:

2

On this page, do the following actions:

  • Uncheck: Checkout > Enable guest checkout

  • Check: Checkout > Enable log-in during checkout

  • Check: Account creation > During checkout

  • Uncheck: Account creation > On "My account" page

3

Now you can scroll down and save the changes:

4

Now, you have to enable the Guest Checkout option from MS LMS settings as well. Follow WP Dashboard > MS LMS > Settings > General, enable the Guest Checkout, and save the changes:

Display Courses on WooCommerce Shop Page

There is an option to display the courses on your platform on the WooCoommerce shop page. Displaying courses on the WooCommerce shop page increases visibility by showcasing them alongside other products, improving discoverability through search and filters. It enhances user experience with a familiar shopping layout and enables cross-selling by promoting courses with related items.

1

To enable it, follow WP Dashboard > MS LSM > Settings > General > Display courses on the WooCommerce shop page and save the changes:

2

After that, you have to regenerate the Product lookup tables in WooCommere. You can follow the link to go to the required WooCommerce setting:

3

Click on the Regenerate button:

4

It may take <5 mins to regerate the table. Try refreshing the page after some time. "Lookup tables are regenerating" message will disappear:

5

Here is the result:

On the shop page, once the students click on the View Course button, the system brings them to the Single Course Page:

HPOS Compatibility

MasterStudy LMS is compatible with the High-Performance Order Storage (HPOS) feature of WooCommerce. This feature is enabled by default. You can customize this option by navigating to WooCommerce > Settings > Advanced > Features tab > Order Data Storage > High-Performance Order Storage:

You can get more information about the HPOS feature of WooCommerce by following this manual:

On the Order Details Page, there is a special button to print the order details:

The system collects the order information and generates ready-to-print .pdf document:

The logo of your website for this document can be uploaded by following MS LMS > Settings > General > WooCommerce Logo Upload:

Last updated

Was this helpful?