3 replies [Last post]
GileS's picture
Offline
Bug Finder
Joined: 11/30/2007
Juice: 25
Was this information Helpful?

Is there any chance we can get remove roles on purchase to go with adding roles on purchase?

kcoworks's picture
Offline
Joined: 11/22/2007
Juice: 103
Re: uc_roles

Technically, I would say sure, why not, but... Could you describe the case in which you want to do this? It seems to me at first sight this is quite a specific need?

GileS's picture
Offline
Bug Finder
Joined: 11/30/2007
Juice: 25
Re: Re: uc_roles

The main reason for this would be if you have a product which handles a membership type. If a user has say a role that gives them permissions as one type of member. When they upgrade by purchasing a product you want to set the new roles for that membership and may want to remove the role for the old membership.

Shawn Conn's picture
Offline
Administrator
Joined: 08/07/2007
Juice: 920
Re: Re: Re: uc_roles

it sounds like this would be a job for workflow-ng. I have to use its API but seems like something that shouldn't be hard to do. I'll take a look into when we look toward depreciating uc_notify in favor of workflow.

-Shawn Conn: If the Name Don't Rhyme It Ain't Mine