NOTE: some customizations can change how Bright products are linked. If you have a customized site please check with Bright support if this document is relevant for your implementation
NOTE: To follow the directions in this video, make sure you have "custom fields" selected in your "screen options" selector. If you don't see custom fields in your product editor, follow the instructions here https://www.wpbeginner.com/wp-tutorials/how-to-fix-custom-fields-not-showing-in-wordpress/.
For better image quality watch on youtube: https://youtu.be/iQlWvRK8efE
Conceptually, in this article we will cover how to create product metadata for a WooCommerce product to link the product to one or more Bright courses.
Select your product
From the wordpress administrative wp-admin interface, find the woocommerce menu in the left sidebar, and select the products selection in the products menu:
Then choose your product and click edit.
Identify your Course ID
To continue, you\'ll need to know your Course ID that you want to link to this product.
Add The Course ID to the Product
For this make sure custom fields are visible in the screen options menu.
A bright course is linked to the woocommerce product via a custom field on the product called bright_course_id. Please Note: It is possible to enter multiple bright course ids here. Just repeat the procedure below on multiple lines.
Remember, don\'t forget to click update!!!
Linking Multiple Products
Multiple products can be linked as follows, using multiple rows.
Don\'t use commas in a single line.
No field bright_course_id found.
If you don\'t see the bright_course_id field in the dropdown of the post custom fields, just add it via the new button:
Configuring How Your Course Will Look To The Purchaser
In most cases, you will want to add a Bright template to the post body of your product, so purchasers can access the course. You can do this by adding a Bright template in the WooCommerce Product editor.
If you\'ve following the instructions correctly,
you will see your course ID like this:
Customer purchases of this product will result in the purchasing user being granted access to the associated course via a course registration.
The user can launch the course via any Bright embedder on the site. It is suggested, but not required, that you add a Bright launcher to the product description of each product.