View Categories

WP Courseware and PublishPress Cart

WP Courseware is a WordPress plugin for creating and selling online courses. The integration enrolls customers in a WP Courseware course when they buy a product in Cart, and can unenroll them again.

This integration requires PublishPress Cart Pro.


Before you start #

You need:

  • PublishPress Cart Pro installed and active.
  • The WP Courseware plugin installed, active and configured.
  • At least one course created in WP Courseware.
  • A product in Cart. Create one under Cart → Products.

Add the WP Courseware integration to a product #

  1. Go to Cart → Products and open the product.
  2. Open the Integrations tab.
  3. Click Add New.
  4. In Service, choose WP Courseware.

WP Courseware appears in the Service list only when the plugin is installed and active. In this screenshot WP Courseware is not installed, so the option is not listed yet:

WP Courseware choices on the product Integrations tab

Choose the course and the action #

  1. In Trigger, choose the event that runs the integration.
  2. In Select Course(s), choose the WP Courseware course or courses. The list shows the courses you created in WP Courseware.
  3. In Action, choose Enroll or Unenroll.
  4. Optional: turn on Send new users an email about their account. to email new users when Cart creates their account.
  5. Click Publish or Update.

For example, with the trigger Product purchased and no payment plan restriction, Cart enrolls the customer in the course when they buy the product with any payment plan.


Check that it works #

  1. Open the product on the front of your site and complete an order.
  2. In WordPress, open WP Courseware and check the course’s students.
  3. Check that the customer is enrolled. With Unenroll, check that the customer is removed.