- their courseware for any order they've placed and completed
- their courseware for any license key they've redeemed in their account.
If not overridden shortcode is automatically rendered for a customer in the "My Courses" tab of their account page.
Modifying What Is Displayed
The Default Template
In the Admin Panel, please see
You can use this define template as the default rendering for a purchased Bright-linked product on the MyAccount/MyCourses page. __BRIGHT_COURSE_ID__ is magic and will be replaced by the product custom field bright_course_id.
If you've have linked your course multiple times, the template will be rendered multiple times, one for each linked course.
If the default template is blank, the Per-Product rendering algorithm described below is used.
See also Linking A Product.
Defining Course Rendering on a Per-Product Basis
Rendering on per-product based can be done by adding a custom field to the product called bright_mycourses_template.
This field takes one of two values:
- __EXCERPT__ : setting the field to this special variables causes the product short description to be used
- Any other data in this field is rendered as is. Bright shortcodes and/or templates are permitted [as well as any other shortcodes active on your site].
If no default template is set, and no configuration is found on the product, the product description is used. If the description uses a Bright Template, it will be expanded.
This shortcode will respond to a Query Parameter "debug" that will display a table showing the orders and/or license keys that are included in the rendered courses.