Vote up!
Vote down!

Product Display Access by Role


I am fairly new to DC so I assume I am missing something and this can be solved quickly.

I have a site where we sell to several different types of customers. These customer types are defined by user roles. So I have customers with roles ALPHA and BETA for example. I want to separate products for sale based upon customer role. This is complete availability to see or purchase the product,not just change the price or not see the price. For example I have three products 1, 2, and 3. and I want their visibility to be:

Product 1: Visible only to ALPHA Customers
Product 2: Visible only to BETA Customers
Product 3: Visible to ALPHA, BETA,and Anonymous customers.

What I have done is create different Content Types for these three products and then I tried to use Content Access module to limit the Roles ability to view or access these products,but it does nothing.

So how do I limit the ability of users to view products by role? I must be missing something simple, I hope you can help.

Thanks in Advance!

Asked by: uberman
on July 17, 2013

1 Answer

Vote up!
Vote down!

Well, my suggestion for controlling access to content based on roles or even individual users is the Content Access module. I have no other recommendation, so your best bet is to figure out why that isn't restricting access like you're expecting and make it work.

Ryan Szrama
Answer by: Ryan Szrama
Posted: Jul 17, 2013


Thanks Ryan - Do you expect this is a issue with the Content Access Module interfacing with the Products? Is there anything special about content types that have a "product reference" field that I should be aware of? If there is nothing special then I guess it is a CA module issue.

- uberman on July 18, 2013