You can now add course codes for courses. A user with a course code can directly subscribe to the course from the Course codes widget.
STEP 1: Enable Course Codes
STEP 2: Set Course Codes
Course Codes types :
TYPE 1: CODE|xx , xx is the number of "extra" times a course code can be used.
TYPE 2 : CODE , coude can be used unlimited times.
STEP 3: Add Course Codes Widget
Video: