EdX products are “course seats” that represent enrollment types. Each course seat has an associated set of attributes, such as price and certificate availability. The edX code uses course seats to determine how a given enrollment should be handled.
To create a product, you use the Course Administration Tool (CAT) to specify a course type. The E-Commerce service then creates the products, or course seats, that are associated with that course type. You access the CAT through your browser, similar to the Django administration panel.
To create products, follow these steps.
In the ecommerce and LMS configuration files (
/edx/app/edxapp/lms.auth.json, respectively), verify the following
If you are using devstack, these values are set correctly for you. However, edX recommends that you verify these values.
EDX_API_KEYvalue in the LMS file must be the same as the
EDX_API_KEYvalue in the ecommerce file. If the values differ, change the value in the LMS file to match the ecommerce file.
ECOMMERCE_API_SIGNING_KEYvalue in the LMS file must be the same as the
JWT_SECRET_KEYvalue in the ecommerce file. If the values differ, change the value in the LMS file to match the ecommerce file.
On devstack, start the E-Commerce server on port 8002, and start the LMS on port 8000.
On the E-Commerce server, go to
http://localhost:8002/courses to access
the Courses page.
On the Courses page, select Add New Course.
On the Add New Course page, enter the information for your course in the following fields.
Select Create Course.
To use these products in additional courses, follow these steps again for each course.