Linking A Product

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.

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.


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.


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


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


Don't use commas in a single line.

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:


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:

linked all good

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.