I'm working on a LMS site (a kind of).
I want to use Ubercart to sell node access using role assignment. The site wil have 5-6 products/roles to buy.
When a user purchase a product he then have the corresponding role for life.
So i need to hide for him the add to cart for this product.
Thanks for your help.
I wrote and have been using a module that does what I think you're asking for, so I've released it here. Please try it out. If you run into any problems, please post issues in the module issue queue.