Closed (fixed)
Project:
Ubercart
Version:
6.x-2.9
Component:
Products
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 May 2012 at 06:59 UTC
Updated:
13 Jun 2012 at 13:41 UTC
Does anyone know how I can restrict the purchase of a product based on a role? I need to create a restriction where a person can only buy a particular product if they already have a particular role.
Comments
Comment #1
longwaveAs products are just nodes, you can use http://drupal.org/project/content_access or any other Drupal node access module to restrict access to products in the same way as you could for any other node.
Comment #2
andrewm63au commentedDoes that allow access to some products and not others
Comment #3
zeezhao commentedif you combine http://drupal.org/project/content_access with http://drupal.org/project/acl you can restrict on a node by node basis.