You can offer subscription-based pricing for specific courses using WPSubscription. Please follow the given instructions to offer a subscription-based course in LearnPress.

Requirements

  1. LearnPress

  2. WooCommerce Add-On for LearnPress

  3. WooCommerce

  4. WPSubscription

  5. WPSubscription Pro

Prepare LearnPress

To enable payments with WooCommerce, you must first enable WooCommerce in LearnPress settings. Please note that you will need the WooCommerce Add-On for LearnPress to offer courses with a WooCommerce product.

  1. Open WordPress Dashboard.

  2. Go to LearnPress > Settings > Payments > WooCommerce Payment.

  3. Check Enable.

  4. Check Buy courses via Product.

  5. Click the Save settings button.

BlockNote image

Create a Course

Now you will need to create a course in LearnPress to use in a WooCommerce product.

  1. Open WordPress Dashboard.

  2. Go to LearnPress > Courses.

  3. Click the Add a New Course button.

  4. Go to the General sub-menu and provide basic course information, like Title, Description, etc.

  5. Check Allow Repurchase and select Keep course progress in the Repurchase action selection.
    ( Note: This is mandatory. Without this, students' course progress will reset on subscription renewals. )

  6. Go to the Pricing sub-menu and put price information.

  7. Continue building the course (curriculum, etc).

  8. Finally, click the Publish button.

BlockNote image

Create WooCommerce Product

Now you will need to create a WooCommerce product and connect the course to it.

  1. Open WordPress Dashboard.

  2. Go to Products > Add new product.

  3. Provide basic product information, including product name, image, and price.

  4. Select Product data as Simple Product.

  5. Check the Subscription checkbox to enable subscription settings for this product.

  6. Check the Virtual checkbox to mark this product as a virtual product (optional).

  7. Go to the Subscription sub-menu.

  8. Fill in the necessary subscription settings, including Payment Type, Repeat Payment Every, etc.

  9. Go to the Courses sub-menu.

  10. Select the recently created course in the Assign courses to this product selection.

  11. Click the Publish button to publish the product.

BlockNote image

Purchasing

Now you can purchase the product normally, and the course associated with it will add to your profile. The course access will reflect based on the subscription status.

Here, it shows that the course is enrolled after the course is purchased.

BlockNote image

And here are the subscription details of that course.

BlockNote image