Forum .LRN Q&A: Re: Paying for classes

Collapse
6: Re: Paying for classes (response to 1)
Posted by Dave Bauer on
Hmmm.

This seems like a job for acs-service-contract.

There are at least two ways to go about it:

1) When a new class is created, create a product to go with it.

2) When a new product is created, create a class to go with it.

It might be nice to allow both situations.

Collapse
7: Re: Paying for classes (response to 6)
Posted by Carl Robert Blesius on
That would be an interesting way to integrate events into .LRN too.

New event -> create a product to go with it
New class -> create and event to go with it
New product -> create a class to go with it

Collapse
8: Re: Paying for classes (response to 7)
Posted by Alfred Werner on
Some people like to charge per access to files / like for research reports - so in file-storage

New file -> create a product to go with it. (Maybe folders have an free/fee attribute?)

Shows that we need to keep our minds open to the possibilities.

Collapse
9: Re: Paying for classes (response to 6)
Posted by Malte Sussdorff on
I would favour the way of adding the object first before making it a product (instead of first having a product and then getting the object). Reason is that I forsee the possibility to write one standard way of adding a product to the ecommerce installation. Taking the /o approach, you could then link to the "product" directly.

But how would you link permissions with paid items. I could imagine, if your service contract for creating the product stores the object_id you can easily create a permission record of read. Though, would this be enough? Or do we need to define, what permission will be given to a certain object once the product has been paid? And if so, how do you do this. Should there be a link e.g. in the class administration that says "make it a product", linking to a page that enables you to give some description for the product and the permissions that will be granted on the class (or file, or survey or whatever we might come up with).

Last but not least, how much more work would a general approach be vs. a specific one just interfacing classes and e-commerce. And would you be willing to go down that extra mile Caroline ?