- Issue created by @petednz
- 🇬🇧United Kingdom catch
This could probably be done with configuration + ECA module.
1. Create a product that can be referenced from a course.
2. When the product is purchased, find the courses that reference it and then add the user as a member to the course (this bit would require either ECA or custom code).
This would allow for selling one course at a time, or potentially a 'course bundle' - buy one product and get added to all the courses that reference it.
It wouldn't handle the situation where someone buys a course, leaves the course, then wants to join it again, that would require additional validation at the join end.
We wouldn't add direct support for this to the core LMS module, but if it can be done with pure configuration and ECA similar to the above, it would make a good recipe.