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

longwave’s picture

Status: Active » Fixed

As 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.

andrewm63au’s picture

Does that allow access to some products and not others

zeezhao’s picture

if you combine http://drupal.org/project/content_access with http://drupal.org/project/acl you can restrict on a node by node basis.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.