Hello there,
Thanks for your message.
If the users registered via checkout or signup will get the “customer” role.
https://woocommerce.com/document/roles-capabilities/
If you would like to edit a role, you can use a plugin like:
https://wordpress.org/plugins/capability-manager-enhanced/
I hope this helps to clarify, let us know if there are any questions.
If the users registered via checkout or signup will get the “customer” role.
https://woocommerce.com/document/roles-capabilities/
I see and have verified this.
But on my site, if a subscriber places an order and completes it, he won’t become a customer, he will just stay a subscriber. I am not 100% sure on my site there is no other factor meddling with users’ roles though.
So if what I find out from the test is the case, isn’t it a little inconsistent with the behavior you mentioned? And how can I make woocommerce change subscriber to customer once they successfully completes an order? Moreover, if I may, vice versa, is it possible to change a customer back to subscriber if they ask for and get refund for their only order?
@shenkwen
Are you selling subscription products?
If you are, then it makes sense that the customer will have the subscriber role. They will be reverted to the customer role when their subscription expires and they don’t renew.
If a subscriber cancels their subscription, at the end of the subscription they will be reverted to the customer role.
That said, is there a specific situation that you’re trying to solve?
I think you misunderstood.
The role being “subscriber” doesn’t mean the user actually subscribe to my products, actually I don’t have any subscription products.
The “subscriber” is the default user role on my site which every new user will be assigned to. I think this is a wordpress default.
That being said, I just want to have different roles for users that never paid for anything on my site and those who did.
Setting default roles for users is not enough. I want to change their role automatically after they complete their first order.
@shenkwen
There’s no official option to automatically switch roles after an event.
However, I did some research and found some results. The solutions are untested, however, may solve your concerns. See a link here
I hope this helps!
Hi @shenkwen!
We’re happy to hear that was helpful! So, I’m going to mark this as resolved, and let us know if we can help you with anything else!
All the best,