Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I just spent a couple days setting up opigno and i love it, however i want to charge for access and having issues sorting that out fully the documentation is lacking in that area. I have 2 base courses and using the commerce module for paypal. How do i set this up so whne a user selects a course it will assign them a role that can only access the course they paid for? Or would using ubercart be a better option. I just want the site to be non viewable except the front page until a user pays for a course.
Comments
Comment #1
wadmiraal CreditAttribution: wadmiraal commentedHi,
Well, out of the box, you cannot restrict a user to only the front page. That would not make much sense either, as the user needs to access the course list to know which ones she wants to buy.
When they buy access to a course (you must set a price to the course, otherwise it won't be available for sale) and finish the payment process, they will be added as a member of the course. Nothing more.
She doesn't receive any role as far as the platform is concerned. Is that what you want ? Like a Premium Member role, only for those that payed for a course (whichever that may be) ?
Out of the box, the commerce app is very basic (it's supposed to be), but it can easily be extended using Rules, if you're familiar with it.
Comment #2
wadmiraal CreditAttribution: wadmiraal commentedComment #3
axelm