Linking A Product

Linking a Bright Product to a WooCommerce Product is simple.

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.

From the wordpress administrative wp-admin interface, find the woocommerce menu in the left sidebar, and select the products selection in the products menu:

wc-bright-products

Then choose your product and click edit.

wc-product-edit

To continue, you'll need to know your Course ID that you want to link to this product.

Finding your CourseID in SCORMCloud

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.

bwc-adding-a-course-id

Remember, don't forget to click update!!!

wp-update

Multiple products can be linked as follows, using multiple rows.

multipleproducts

Starting in Bright 12.6.12 it is also possible to put multiple course IDs in a single entry, separated by a comma with no whitespace.

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:

newfield

If you've following the instructions correctly,

you will see your course ID like this:

linked

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.