About selling courses

hendrikob
Forums
Hi all. I need sell all the courses of my web plataform to each user with a user expiration, but opigno LMS only can sell for courses or classes, but i need sell the complete package (all courses or classes for each user). I need that when a user buys a membership, he/she can access all my web platform courses/classes, have a solution? sorry for the google translate :P.
James Aparicio

Hi hendrikob,

Hi hendrikob,

By default, the opigno commerce app does not provide this feature. But this is something that can be done easily. 

First thing would be to create a product type and a content type membership.

Create a membership product and a membership linked to this product.

Then you can display this node wherever you want (where users can click to buy the membership)

Then create a rule when finishing checkout, to checkout if the product bought was the membership. If it was, create a user for the customer.

This is enough if the users will be buying a forever membership. If the membership will have expiration, say 1 year, you can create a field in the user accounts that normal users cannot edit, that will keep the valid until time of the account.

Then create a cron function that checks if users have passed that time. If so, block the user. 

Does hesitate in contacting us via the contact form if you want us to take care of this for you.

Best regards

msharma

could you please elaborate

Hi, I have fresh installation of opigno and i have also update drupal core to 7.43. Now i want to create courses, classes, lesson and these content can be access by only particular who have the membership or added by membership user as sub users. I have created a product type as my product type and a product based on this product, i try to create new content type as membership, but it was already created. Now how i can proceed further as i did not found any step to link this membership with my product created earlier. Could you please elaborate and give us full step to perform above required problem. Thanks.
msharma

Hi hendrikob

Hi hendrikob, Did you solve you problem. If yes please let me know the step, i also want to do the same thing.
James Aparicio

Hi msharma,

Hi msharma,

Your use case seems a bit different and more complex than hendrikob use case, and requires some more thought. For that specific case i suggest you creating a membership role, with this role, you can differentiate these different users. You will have to change the rule to create users on checkout to give the user the role.

Then, in the courses/classes, you should add a boolean field, called "Is group for membership only".

After all this, you will have to change the access functions, so that non members cannot view any of the membership groups or the content.

 

Best regards

 

 

msharma

Hi James Aparicio

Hi James Aparicio, Could you please give me the step to be followed as i am newbie to opigno. I have created a content type Membership with title only and a product type as membership with default fields. Please tell me the every step that need to be followed. I have search on internet, but i did not found any tutorial or any other source to be followed. This could help me a lot. Thanks.