4 replies [Last post]
alteba's picture
Offline
Joined: 09/14/2011
Juice: 41
Was this information Helpful?

Hi,

Thanks so much for Ubercart. It's uberwonderful.

I was wondering if there is a way to create a product in ubercart but only allow a single user of the website to be able to see the product and buy(checkout) it.

I will need this to be done automagically, so I'm not sure if Roles will help me here. Or will it?

zeezhao's picture
Offline
Joined: 04/23/2008
Juice: 969
Re: Selling a product to one single customer only

You can limit access for any node to a single user by using these two modules together:

http://drupal.org/project/content_access
http://drupal.org/project/acl

rks_213's picture
Offline
Joined: 01/16/2011
Juice: 183
Re: Re: Selling a product to one single customer only

Can you set stock?

alteba's picture
Offline
Joined: 09/14/2011
Juice: 41
Thanks so much.

I will look into it. I hope there is a way for Drupal to do this automatically, as the user to be allowed access is not something I want to do manually but rather have Drupal do it for me based on some conditions.

zeezhao's picture
Offline
Joined: 04/23/2008
Juice: 969
Re: Selling a product to one single customer only

You can do it automatically for certain cases by using the rules module with those modules. Alternatively, you'll have to write a small module to do it based on your conditions.