By mjetpax on
Hi,
I have been looking for days and have not been able to find a suitable solution for my development needs. I was hoping that someone smart could help me out.
I have my ecommerce module all set up to sell roles. That works great roleA can upgrade/purchase enrollment into roleB. Perfect!
But, I need to also make it so someone in roleC cannot purchase or have access to purchase enrollment into roleB. Is this possible, with a module (preferably) or a hack/patch (not so preferably).
Thanks in advance!
Comments
So, I was thinking about
So, I was thinking about it.... What about through the template, I could modify the template output for product nodes. But, would this be iron clad? could a user get around a restriction implemented in this manor?
Thanks!
Have you tried a module like Content Access
With a module like Content Access you should be able to restrict access to product nodes to certain roles. I know Content Access works with Ubercart product nodes, so I assume it'd work for eCommerce nodes too.
I used Content Access but there are a bunch of other similar modules that could be worth looking at: Node Privacy Byrole, Simple Access, Node Access Control, Nodeaccess and Premium.
Awesome! That Content Access
Awesome! That Content Access did exactly what I wanted it to do. I had gotten EC_Views to restrict access to the product list, but Content Access had the functionality I was really after.
Thanks so much!