Administration
WooCommerce Integration
How orders become enrollments through product mapping, enrollment triggers, refund behavior, and order statuses.

Product mapping
Link a WooCommerce product to a Learn with Foundation course. One product can grant a single course or several (bundles).
Enrollment
When an order reaches a granting status, Learn with Foundation provisions the learner and enrolls them in the mapped course(s).
Order statuses
- Completed / Processing: grants access (you choose which statuses grant).
- On-hold / Pending: no access until the order advances.
- Cancelled / Failed: no access.
Refund behavior
Refunded or cancelled orders can expire course access while retaining learner progress. Confirm your payment gateway refund and cancellation events trigger the expected access changes whenever gateway settings change.