Linking a Bright Product to a WooCommerce Product is simple.
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.