Integration of WooCommerce into 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 eCommerce platform.
To install the WooCommerce plugin navigate to Plugins > Add New page in your WordPress admin area. On the Search field, enter WooCommerce and among the suggested plugins Install the WooCommerce plugin and Activate it.
To smoothly proceed with the purchase process make sure that the Cart page, Checkout page, and My Account pages are specified under the WooCommerce > Settings > Advanced tab > Pages Setup section.
Do not worry if the pages are not created and set with the demo content installation. You can create and install them with one click. Go to Dashboard > WooCommerce > Status > Tools tab and find the Create default WooCommerce pages section and click Create pages button. The plugin will automatically create and set all required pages:
No transaction can or will take place unless the payment method is configured. Go to WooCommerce > Settings > Payments tab and adjust your needed payment method. The MasterStudy theme supports all the payment gateways that are integrated with the WooCommerce plugin.
If there is no your wished payment gateway to use you can choose the WooCommerce payment extensions to enable the preferred payment method. All available payment extensions you can find on the WooCommerce extensions store or on other resources.
To enroll a user on 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 that wished to purchase the courses needs to create(have)an account. Therefore, it is important to correctly set the Guest Checkout option of the WooCommerce plugin.
To configure the Guest Checkout navigate to the Woocommerce > Settings, click the Accounts & Privacy tab, in front of the Guest Checkout option uncheck the Allow customers to place orders without an account option. Also, enable the Allow customers to log in to an existing account during checkout option to allow previously registered users to make a purchase using their existing account:
Also, enable the Allow customers to create an account during checkout option so the user was able to create an account on the purchase process. However, remember to uncheck the Allow customers to create an account on the "My Account" page option as the users need to be registered on the website via the theme registration form.
After installing and configuring the WooCommerce plugin settings enable the WooCommerce Checkout on the STM LMS > STM LMS Settings > General section. This connects the LMS courses with the WooCommerce checkout system.
Once the WooCommerce checkout is enabled and the WooCommerce plugin's settings are configured, on the Products page will appear three additional sections: LMS Products, Enterprise LMS Products, and LMS Bundles fields.
The newly created courses on the STM LMS > Courses section will automatically appear as products on the Products > LMS Products section.
All the LMS Products will be synchronized with the related courses' settings. If you apply changes to the course settings from the STM LMS > Courses, these changes also will appear on the appropriate course from the Products > LMS Products section.
As a product type for the LMS Product will be assigned the MasterStudy LMS Product type:
The products section for the MasterStudy LMS Product types is not recommended to change the course title price and sale price dates. To change these options, edit the related course. Also, you will be warned about this on the product backend page:
By default, the catalog visibility will be hidden for the LMS Products, so these courses will not be displayed on the WooCommerce shop page.
On the Course page, click the Get Course button:
After selecting the payment option the Go to Cart button will appear. Click on the button to proceed with the purchase:
You will be transferred to the Cart page with the product info displayed. Also, here purchases can be deleted (1) or applied coupon (2). Click Proceed To Checkout button to continue.
On the Checkout Page fill the Billing details form, select the Payment Method, and click the Place Order button:
After ending the purchase process the purchase details will display on the Checkout Page:
The purchase requests will be located on the WooCommerce > Order section. Here you can manage order status (complete/cancel/refund and e.t.c) and see the order details:
The Student can see the purchases history and status on their account page, on the My Orders section: