Chargeable classes and courses

23karat
Forums
Hi Opigno-Team. First of all: Great work! We want to group some courses to a class and make the class chargeable. Now I can join that class after the checkout but I can join the individual courses directly. How can I avoid that? Best Stephan
axel

Hi Stephan

Hi Stephan Thanks for your feedback! Did you try setting a "private" subscription for the courses inside this class? Best regards,
23karat

Hi Axel.

Hi Axel. Ok, that worked. But then the whole class is missing in the "Training catalog".
James Aparicio

Hi 23karat,

Hi 23karat, Can you please explain your use case a bit better please? Opigno comes with a rule, that when some one is added to a class, he is automatically added to the courses inside, so if you have set up the selling of a class (when the user buys it he is added to the class) that rule will be triggered, and he will be added to all the courses inside. You can have the class public, and all the courses private. Hope this information was usefull, Best regards
kengrayfield

I have a similar problem with

I have a similar problem with the class/course system: I want to be able to charge by classes AND courses. I.e. students can choose to buy course a la cart, or a whole class for the total cost of all the included courses. Right now I have a few possible configurations, all of which NOT what I need: 1. Semi-public class and semi-public courses: students can sign up for the class, but will have to buy each course individually. I don't like this option because it causes confusion to my customers. This config doesn't address the students who want a one-click buy of the whole class. 2. Semi-public class and private courses: this has the same problem of configuration 1, with the added problem that courses need to be validated by admin. I want students to be able to buy classes and courses online, and does not need my authorization. 3. Private class and private courses: not useful at all, not only does it not allow anonymous review of the curricula, students need my authorization at all levels. Overall, we need this: 1 click buy option for classes: if students want to buy a class containing multiple courses, s/he should be able to do so without admin authorization. Right now this is NOT possible AFAIK. Also, classes should have a price option as well. Regards, Ken
James Aparicio

Hi kangrayfield,

Hi kangrayfield, If you set both the class and the courses to semi public and set a price on both the course and the class, the users can see the classes and courses but not their content. And they can buy them no? Either the class (that gives them all the courses) or the courses individually no? If a user buys a class he gets access to all the courses inside. Is this not working? Best regards
kengrayfield

James,

James, AFAIK I don't see any price options for class. In fact, I looked into the class content type page and found no price field at all. Is it as simple as adding a commerce_price field? So far, my take is this: Private class and courses: not good for either class or course. I want users to be able to pay online and begin taking them immediately, without admin authorization. Not to mention that private classes and courses remain hidden from the catalog. Semi-public class and courses(without authorization): not useful for paid class or courses. Even if I set prices for the courses, a registered user can just subscribe for the class and gain access to all courses without paying. Semi-public class and courses (authorization required): once again, not useful if admin intervention is to be avoided. Semi-public class (authorization required) + semi-public courses (without authorization): this seems to be the only viable way thus far. Students can still buy courses a la cart, though will need admin authorization if wishing to buy the whole class (buy where's the price option for classes?) I hope I am not too confusing. By the way, I am using the latest opigno version. Regards, Ken
James Aparicio

Hi kengrayfield,

Hi kengrayfield, If you go to apps -> commerce app -> configure. Sellable items. You can enable selling of classes. If a users buys a class, he will automatically be added to the courses inside. He will not be required to register to anything. We devellpoed opigno to be as flexible as possible. For sure there will be use cases that a particular user does not find use for them.
kengrayfield

James,

James, Thanks again for the speedy reply. When I tried to enable class as sellable item, I keep getting this error: Seller email field is required. Partner ID field is required. Key field is required. Merchant login field is required. User field is required. Password field is required. Merchant login field is required. User field is required. Password field is required. I already disabled all payment methods, and at no avail. Regards, Ken
James Aparicio

Hi kengrayfield,

Hi kengrayfield, These errors are not part of Opigno. They are related to playment methods probably. Please uninstall the modules after you disable them. And clear the cache. Best regards
kengrayfield

James,

James, I figured as much and did exactly that. It's working now. Thanks a big lot you are superb help! Best, Ken
meraja

missing price field in class

hi i have enabled class as sellable item but it does not add any price field in class content type. I want make possible to user to buy class and all the course in class would be free. thanks
asikuy

commerce

The selling of courses / class is done more in the commerce package, than in the setting of public/private setting within classes/courses. If you create a Class, and courses within you have the following options: A. User buys Class and all courses within at discount class. The trigger then, is a role that allows access to all these content is assigned to the user. B. The user only buys a particular course. Then you trigger a role within that course only is assigned to the user. For Example: Class: Youth Soccer Coaching 101 - Role YSC101 Course: Coaching Methods - Role YSC101, CM101 Course: Periodization in Soccer - Role YSC101, PS101