Posted on Leave a comment

Creating Products from the Course Editor

In WooCommerce Paid Courses 2.5.0, we’ve added the ability to create a WooCommerce product from within the course editor. 😍 Now, there’s really no reason to ever leave the editor while building your course!

And, after creating your product, it’s automatically linked to the course for you. Easy peasy!

To add a product, just look for the Pricing section in the Course sidebar:

“Create a new product” link in the Course sidebar
Creating a new product from the Course sidebar

Or, if you’re using the Course Signup block (formerly known as the Take Course block), you can create a product from the pricing modal:

“Create a new product” link in the Course Signup block
Creating a new product from the Course Signup block

Also, if you prefer to work inside WooCommerce, you can associate one or more courses with a product right in the product page.

To update, please head on over to Dashboard → Updates in the WordPress admin.

Please note: While we have thoroughly tested this release, it’s always possible that we’ve missed something. We recommend that you test the update on a staging site before updating your live site.

For Developers

New Filters

  • sensei_learner_courses_page_template –  Filter the My Courses page template when created through the setup wizard.
  • sensei_course_completed_page_template – Filter the Course Completed page template when created through the setup wizard.

Template File Changes

  • templates/content-course.php – Don’t add HTML for the course excerpt if it’s empty.

Deprecated Code

  • Courses::add_product_catalog_data – No replacement.
Leave a Reply

Your email address will not be published. Required fields are marked *