microfirmz wrote:Hello,
Is there a way to configure the hiding of (or at least the inability to purchase) products depending on Customer Roles?
If there is nothing like this existing, what would be the best place to add this logic programmatically?
Thanks in advance!
No, right now there is no feature in nopCommerce by which you can accomplish this
from your admin section you can dis-able buy button but that will be applicable for all customers.
If you want to add this feature, you have to modify the current project according to your requirement
Your Question: what would be the best place to add this logic programmatically ?
Answer: Currently nopCommerce has got a feature : "Access control list", it works on the bases of roles (just like you're looking for) BUT it works only for admin section right now, This is the control that you can modify according to your requirements.
In the source you can take a look at the structure of this feature which will give you an idea how it works...