Give uc_roles the option remove a role

Project:Ubercart Contributions
Component:Code
Category:
Priority:normal
Assigned:tom-d
Status:active
Description
Project: 
Ubercart

I would firstly like to say thank you to all the ubercart developers for such a great ecommerce solution.

My request is to add the choice to remove role/s as well to give a role/s to the user through one product in uc_roles becomes rather important in some situations with subscription based sites.

For one example why this is necessary for a mixed subscription service and single sales site is:

Mixed subscription music site has two types of users, authenticated users are allowed to pay for individual tracks and album using file download products, so basically the uses the add to cart feature.

The second user is the subscribed user, through the purchase of a monthly subscription they are granted the user role subscribed user which allows the user to download anything for that month. To make it less confusing for the user, it would be ideal for all the single track/album sales disabled for the role subscribed user. The problem is that because the subscribed user is still an authenticated user which makes it impossible to disable these features which results in showing both the option of download the music file directly and the option of adding to their cart.

One solution is to create two roles which can be enabled and disabled, One role that enables the user to buy single tracks and another role for subscription. Through the purchase of subscription it removes the single track sales role and at the same time gives them the subscription role. When subscription expires it removes subscription and gives back old single track role.

This feature has been discussed here http://www.ubercart.org/forum/support/3751/uc_roles_and_display_currect_...

I do not have a great understanding of workflow nor the uc_roles module, If I attempt to implement this feature I'm afraid it will only be a cheap hack.

littly_kitty's picture
Offline
Bug Finder
Joined: 01/20/2008
Juice: 155
Re: Give uc_roles the option remove a role

I would also like to see a feature where:

  • Users can lose roles when purchasing a role
  • Users can gain roles when a role expires
vancouverWill's picture
Offline
Joined: 01/22/2009
Juice: 8
Any Progress?
Assigned to:littly_kitty» vancouverWill

Any luck with this guys?

gimpo's picture
Offline
Joined: 05/07/2009
Juice: 2
Any updates on this?
Assigned to:vancouverWill» gimpo

I too would like this functionality. I've been looking this for several months now.