I noticed the following behavior on woocommerce :

I have a user on my website who is already registered with 'subscriber' role.

When I login and checkout on my woocommerce shop, user role still remains on 'subscriber' and role is not updated to 'customer'.

Problem is on admin page (Users > All users) : when I use the filter to show all customers, users who were already subscribers and have made orders don't appear on search results.

I use Wordpress 4.9.6 et Woocommerce 3.3.3.

Can anybody explain to me if this behavior is all right ?

Thank you.

closed as off-topic by Mark Kaplun, Jacob Peattie, TheDeadMedic, fuxia Aug 25 '18 at 10:34

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

  • which plugin do you use to manage suscribers ? – Kaperto Aug 18 '18 at 14:26
  • @Kaperto i don't use plugin to manage suscribers, I created a test user with admin panel. – Céline Garel Aug 18 '18 at 14:36
  • to change the role, you need a plugin like that : woofrance.fr/forums/topic/… – Kaperto Aug 18 '18 at 17:06

While WC is off topic, and I am not going to dig into how it explicitly works, in general wordpress roles are just a semantic way to call a class of permissions and users probably can not belong to two roles at once (this is an observation based on user management UI, not on whether it is possible to somehow hack something in the DB or via code), therefor if the user already exists it is just not obvious what to do if it might be better assigned to some other role. Not surprising that if a customer of a shop is already a user on the site, WC does not modify it in any way.

So this is not so much about wrong and right but more about you looking for information about customers in an admin screen that is meant to manage user permissions and other non shopping related attributes

  • Thank you @Mark Kaplun for your answer, I posted topic on woocommerce support forum. – Céline Garel Aug 19 '18 at 11:25

Not the answer you're looking for? Browse other questions tagged or ask your own question.