Buy buttons and sidebar widgets
Reign LearnDash Addon overviewPremiumGet Reign LearnDash Addon →
Also called: buy now button, enrol button, checkout button, WooCommerce course, Easy Digital Downloads course, membership course, course widgets, sidebar course list
What this does
Section titled “What this does”The add-on improves the button on a closed course, so a visitor goes straight to checkout. It does not grant access. After a purchase, LearnDash’s own WooCommerce, Easy Digital Downloads or Paid Memberships Pro integration gives the student the course. It also adds three widgets.
Before you start
Section titled “Before you start”- Install LearnDash’s integration for your store: WooCommerce, Easy Digital Downloads or Paid Memberships Pro.
- Create the product, download or membership level for the course.
Send a closed course to checkout (WooCommerce or Easy Digital Downloads)
Section titled “Send a closed course to checkout (WooCommerce or Easy Digital Downloads)”- Open the course in LearnDash.
- In the course settings, set the closed course button URL to your WooCommerce product or Easy Digital Downloads download.
- Click Update.
The button now goes straight to checkout with that product in the cart, through the store’s own add-to-cart link.
Show a Buy membership button (Paid Memberships Pro)
Section titled “Show a Buy membership button (Paid Memberships Pro)”- Set up the course in the LearnDash Paid Memberships Pro integration, and give the course through a level. Set the levels there, not in this add-on.
- Open the course page.
The course shows a Buy membership button next to the main button. One level goes to that level’s checkout. Several levels go to the levels page.
Add a widget
Section titled “Add a widget”- Go to Appearance > Widgets.
- Add one of the widgets below to a widget area.
- Fill in its settings and save.
The widget titles use your LearnDash labels, so “Course” may read differently on your site.
| Widget | Settings | Notes |
|---|---|---|
| Reign: Course categories | Title, Show course counts, Show hierarchy | Lists course categories. The default title is “Course categories”. |
| Reign: Course search | Title | Searches the courses page with the add-on search field. |
| Reign: Courses list | Title, Number of courses | Newest courses with image and price. 1 to 20 courses, default 5. |
You’ll know it worked when
Section titled “You’ll know it worked when”A closed course button opens checkout with the product in the cart. A widget shows in its widget area.
Good to know
Section titled “Good to know”What rules do the buy buttons follow?
Section titled “What rules do the buy buttons follow?”- Each button carries its own course, so several buttons on one page all work.
- If the product is already in the cart, the button goes to checkout and does not add a second one.
- WooCommerce: the product must be simple, purchasable and in stock. Variable products, and products that need options, keep your own link.
- Easy Digital Downloads: a download with variable prices adds the default price option.
- If the URL is not a product or download, the button keeps your link.
Where does the search widget go?
Section titled “Where does the search widget go?”With Classic cards, Soft cards or Catalog, the search opens the courses page with the results in its grid. With Reign default, it opens the WordPress search results, limited to courses.
Do widgets from 5.1.0 still work?
Section titled “Do widgets from 5.1.0 still work?”Yes. Widgets saved by 5.1.0 keep working. A saved course list above 20 shows 20.
What about the groups archive sidebar?
Section titled “What about the groups archive sidebar?”If you already put widgets in the 5.1.0 groups archive sidebar, it stays. It replaces the main sidebar on the LearnDash groups archive. It is not offered on new sites.
For developers
Section titled “For developers”Change the final button with the reign_ld_buy_button filter. See Hooks and filters.

