Hi, 1st great contribution, I am really happy finding this module.
2nd I am wondering what are the steps to integrate it with ubercart, I found the rule, but it is still not clear.
I imagine one of these possibilities:
- A course need to be added as a product class on ubercart
and/or
- A product need to be enabled as a course
So I imagine that before the user purchase the product/course he can not see the take course tab, and later he will be able to do so.
Also other users not enrolled should not see the course materials, I read you suggested access_private for this, but how can I add this into the mix?
Finally, will you plan to support commerce for the D7 version?
Thanks
Comments
Comment #1
djdevinThat's correct. We don't have a 1 click way of doing it yet, but that's the idea. You would buy the course (as a product, or a signup) and an Ubercart action would then enroll you in the course. We're still sketching out content privacy.
We haven't tested this extensively in 6.x-1.x as it was ported from an internal version, so if you could give it a try and report back we can work on getting it solid.
Thanks!
Comment #2
pitxels commentedNo ;( I am not able to make this integration works, please help
Comment #3
djdevinCan you enable the course_uc module?
Comment #4
pitxels commentedI tried making the "course" a product (adding it in the products classes) and also I tried to make the "product" a course editing the node type.
The result is that the add to cart button disappear, and the "take course" tab is always there, (but maybe for that tab thing I need to create a user besides user 1...)
What I am missing?
Comment #5
pitxels commentedCan you enable the course_uc module? yes, and I guess that created the rule I mentioned.
Comment #6
pitxels commentedOn a side note, I guess one can add a layer of control with a "student" role, that is provided when the user purchase the course on ubercart, not perfect but better than nothing...
Comment #7
djdevinit's not enabled by default, you can enable it by going to admin/build/modules. I believe it's called Ubercart Course
Comment #8
djdevinI did some brief testing on this and fixed a few minor bugs. Please checkout the latest 6.x-1.x from git or wait until a new 6.x-1.x tarball.
Here is what I did to get it to work:
1) Enable modules - course course_uc uc_cart uc_product uc_store
2) Review settings at admin/settings/course. Check the "Restrict enrollments" box.
3) Add "course" as a product type at admin/store/products/classes
You should be able to create a course with a price, and have it restricted to users until they purchase it.
Let me know how it goes.
Comment #9
pitxels commentedOk I cloned the latest release from git and the integration seems working well so far :)
Thanks for your quick support
Comment #10
pitxels commentedOne small Issue: The block "Course outline"
If the user have not purchased the course, the block should not be displayed.
This is for hidding the nodes urls, but what is a enrolled student shares the nodes links to a non enrolled student?
You need to fix the permission issue I am afraid.
Comment #11
djdevinI agree, the course outline shouldn't show unless the user is enrolled.
Comment #12
scottrigbyYes we are planning to Commerce integration in the 7x branch (won't start looking at that until after the 6x stable release though).
Yep - following up on what djdevin said, that might be good as a configuration even (if a use case can be imagined where a site wishes to show students the course outline before registration code / purchase - if configurable, that may be seen as a feature rather than an access problem).
Comment #13
scottrigbyThis Ubercart integration is resolved.
Let's move discussion about outline access to #1679788: Outline access considerations
Comment #14
scottrigbyNote there's a test for this as part of #1650964: Build unit tests.
Also we had considered this part of #1517330: 6.x-1.0 release, but didn't tag yet