We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Removing Previous Role when using Simple Commerce

How Do I?

funnEE's avatar
funnEE
94 posts
3 years ago
funnEE's avatar funnEE

When a user purchases a role using simple commerce, that new role is added to an array of roles the user has. Unfortunately, I want the user’s previous role to be removed when using simple commerce. How can I make this happen, even if I need to add code to a template?

So far, this is all I can find in the Member Model. Thanks

       
Emmal21's avatar
Emmal21
1 posts
2 years ago
Emmal21's avatar Emmal21

Sometime, the model might occurs some problems. You can try in next time. I recommend trap the cat to you. Why don’t you try joining it?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.